一个JSP页面中有左右两个frame,当我点击右边frame中的链接时,右边frame出现一个新页面,但是昨天的frame还是不变,而我想在打开新页面的同时关闭左边哪个frame,使得新出现的页面占据整个父窗口,这样的话该怎么做?
解决方案 »
- 在线等 struts +ajax+jquery 注册时异步验证问题 jsp得 不到后台的语句,急。。。。。。。。
- 一个HQL语句,为什么总是抱Unable to locate appropriate constructor
- 怎么在Java中连接SQL Sever 2005?急?急?急?
- 高分求tomact内存溢出问题!!必给分!!!
- jsp中添加操作的问题
- JS正则表达式问题??在线急等!!!!!!!解决后马上给分!
- 为什么我一运行jsp页面,tomcat就关闭出现找不到服务器的错误?
- webService生成服务端之后,启动报错
- 关于图片预览问题
- 包含自定义类的Map如何转换成JSON?
- java的应用程序打包成jar后,运行时怎么获取不到jar中的xml
- 怎么搞
window.open("需要的链接");
window.opener.close();
过程: 打开新窗口,关闭父窗口
window.open("xxx.jsp||xxx.do");
window.opener.parent.close();
<frameset cols="197,*" id="bottomframe" name="bottomframe">
<frame name="left" target="main" src="manpowerTree/platformtree.jsp" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0">
<frame name="right" id="right" src="welcome.jsp" border="0" frameborder="no" style="border-left: solid #0377CA 1px;border-top: solid #0377CA 1px;" scrolling="yes">
</frameset>
而链接地址放在welcome.jsp中,点击右边frame中的链接地址时,出现一个新页面,但该页面只占据了右frame整个框架,而左边frame并没有改变,我希望能在新页面出现的同时,能占据整个窗口...