(1) parent.htm 内容如下:
<html><head>
<title>test</title>
<meta name="designer" content="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head><frameset id="sidebar_content" cols="225, *" frameborder="1" border="6" framespacing="5" bordercolor="#a1c7f9">
<frame name="html1" src="1.html" frameborder="1" scrolling="no">
<frame name="html2" src="2.html" frameborder="0">
</frameset>
</html>(2) 1.htm 内容如下:
<a href="parent.html1.location='1.htm'">重定向2.html页面</a>(3) 2.htm 内容如下:
<a href="parent.html2.location='2.htm'">重定向1.html页面</a>我是想实现这样的功能:在1.html页面中让2.html页面得到刷新,在2.html页面中让1.html页面得到刷新,但运行后没能实现。
请高手帮忙,非常感谢!
<html><head>
<title>test</title>
<meta name="designer" content="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head><frameset id="sidebar_content" cols="225, *" frameborder="1" border="6" framespacing="5" bordercolor="#a1c7f9">
<frame name="html1" src="1.html" frameborder="1" scrolling="no">
<frame name="html2" src="2.html" frameborder="0">
</frameset>
</html>(2) 1.htm 内容如下:
<a href="parent.html1.location='1.htm'">重定向2.html页面</a>(3) 2.htm 内容如下:
<a href="parent.html2.location='2.htm'">重定向1.html页面</a>我是想实现这样的功能:在1.html页面中让2.html页面得到刷新,在2.html页面中让1.html页面得到刷新,但运行后没能实现。
请高手帮忙,非常感谢!
<a href="javascript:parent.html1.location='1.htm'">重定向2.html页面 </a> (3) 2.htm 内容如下:
<a href="javascript:parent.html2.location='2.htm'">重定向1.html页面 </a>
) parent.htm 内容如下:
<html><head>
<title>test</title>
<meta name="designer" content="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head><frameset id="sidebar_content" cols="225, *" frameborder="1" border="6" framespacing="5" bordercolor="#a1c7f9">
<frame name="html1" src="1.html" frameborder="1" scrolling="no">
<frame name="html2" src="2.html" frameborder="0">
</frameset>
</html>(2) 1.htm 内容如下:
<a href="parent.html2.location='2.htm'">让2.html页面刷新</a>(3) 2.htm 内容如下:
<a href="parent.html1.location='1.htm'">让1.html页面刷新</a>我是想实现这样的功能:在1.html页面中让2.html页面得到刷新,在2.html页面中让1.html页面得到刷新,但运行后没能实现。
请高手帮忙,非常感谢!
<a href="javascript:parent.html2.location='2.htm'">让2.html页面刷新 </a> (3) 2.htm 内容如下:
<a href="javascript:parent.html1.location='1.htm'">让1.html页面刷新 </a>
<html> <head>
<title>test </title>
<meta name="designer" content="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head> <frameset id="sidebar_content" cols="225, *" frameborder="1" border="6" framespacing="5" bordercolor="#a1c7f9">
<frame name="html1" src="1.htm" frameborder="1" scrolling="no">
<frame name="html2" src="2.htm" frameborder="0">
</frameset>
</html>
<frame name="html2" src="2.htm" frameborder="0">这两个frame的src把1.html改成1.htm 2.html改成2.htm 这样试试~·
1.htm 内容如下:
<a href="javascript:parent.html2.location='2.htm';void(0)">让2.html页面刷新 </a> 2.htm 内容如下:
<a href="javascript:parent.html1.location='1.htm';void(0)">让1.html页面刷新 </a>