<html>
<head>
<title>:: test::</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><frameset framespacing=0 border=false frameborder=0 rows="*,100">
  <frame src="content.htm" scrolling=auto noresize name=index>
  <frame src="firstpage.htm" scrolling=no noresize>
</frameset>
<noframes>
<body></body>
</noframes>
firstpage.htm<html>
<title>:: test ::</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META content='' name=keywords>
<body bgcolor=#FFFFFF>
<a href="secondpage.htm" target="index">secondpage</a>
</body>
</html>

解决方案 »

  1.   

    如果secondpage.htm是第一个页面打开的子窗体,则:<a href="#" onclick="opener.parent.contentframename.location.href='content.htm';window.close()">点击关闭并刷新content帧</a>
      

  2.   


        我当前有一个分帧页面名叫firstpage.htm,它含有两个帧top帧和内容帧content。    现在新打开一个窗口secondpage.htm(*现在有两个窗口,一个是firstpage.htm一个是senondpage.htm*),secondpage.htm页面中有一类链接,要求点击此链接时将内容content.htm显示在firstpage.htm页的content帧中。同时secondpage.htm页面最小化或者关闭。    不知我应当如何实现该功能?请大家帮忙!谢谢!
      

  3.   

    如果senondpage.htm页面是点击firstpage.htm页上的链接弹出的,那就好办,在senondpage.htm页面上用脚本window.parent.window来引用firstpage.htm窗口,这样就能操作firstpage.htm页面上的任何控件(包括帧)了,剩下的我就不多说了吧!