2
<a href="#" onclick=window.open('4','','')>
4
<input type=button onclick='opener.parent.frames[2].loaction="新页面";self.close()'>
<a href="#" onclick=window.open('4','','')>
4
<input type=button onclick='opener.parent.frames[2].loaction="新页面";self.close()'>
解决方案 »
- offsetWidth的浏览器兼容问题。
- 如何text的框的边缘凹凸程度?如何改变边框的形态?求解。。。
- 有谁见过哪家的网站上有这样的脚本?
- 按钮样式变换,这个按下另一个弹起
- 字符分割
- HTML与UBB代码互相转换 问题
- javascript怎么读取客户端cpu信息
- 字母开头接连7个数字,即格式如A1000000,我现在要求一个把跟在这个编号后面的空格删除,请问如何写正则表达式 多谢!!
- 在谷歌浏览器 Chrome 打印时 能不能不预览 直接调用系统对话框直接打印
- jquery效果,PC和移动端通用,上下滑动/拖动,切出的模块缩放,切入的模块正常,如图所示。
- 使用WebBrowser控件,怎么设置页眉和页脚,并把打印出来的页数、文件地址去掉?急用,谢谢。
- 两个onclick show()在一起时的判断
就这样就行吗?
不用加javascript语句?
<frame name="banner" src="" scrolling="no" noresize>
<frameset cols="150,*">
<frame name="contents" src="2.htm">
<frame name="main" src="">
</frameset>
</frameset>
2.htm:
<body>
这是2.htm
<a href="4.htm">链接4</a>
</body>4.htm:
<body >
<INPUT id="Button1" onclick ="window.open('2.htm','contents');;window.open('3.htm','main');"type="button" value="open" name="Button1">
这是4
</body>
3.htm: <body >
3.htm
</body>
shyslysky(飞天) 效果还是没出来。
在点击4的按钮时,没有链接到3啊。
怎么办??
要注意frame的name是否一致!
找找问题在哪,好吗?这相当是1:topFrame<frameset rows="8%,92%" cols="*" framespacing="1" border="1" bordercolor="#999999">
<FRAME name=topFrame marginWidth=0 marginHeight=0 src="top.htm" frameBorder=NO noResize scrolling=no target="_self">
<frameset rows="*" cols="20%,80%" framespacing="1" border="1" bordercolor="#CCCCCC">
<frame name=submenu marginWidth=0 marginHeight=0 src="a/Main.htm" frameBorder=NO scrolling=auto >
<frame name=content marginWidth=0 marginHeight=0 src="rili.htm" frameBorder=NO scrolling=yes>
</frameset>
<noframes>
</noframes>
</frameset>这相当是2:submenu <script language="javascript">
function show(){
window.showModalDialog("chuangjian.htm","","status:no;scrolling:yes;dialogWidth=600px;dialogHeight=250px;dialogLeft:100px; dialogTop:200px; ");
}
</script><tr>
<td align="left" valign=top>
<font size="2"><a href="chuangjian1.htm" target="content" onclick="show()">创建</a></font></td>
</tr>这项当是4.htm:chuangjian.htm<td width="51%" align="left" valign="bottom"><input type="submit" name="Submit" value="确定" onclick='opener.parent.frames[content].loaction="weihu.htm";self.close()' >
这相当是3.htm:content<body>weihu
</body>
<body >
<INPUT id="Button1" onclick ="window.open('2.htm','submenu');window.open('3.htm','content');"type="button" value="open" name="Button1">
这是4
</body>