关于框架的隐藏和显示问题 在searchFrme.html中用户Javascropt来实现function show(){ parent.leftFrame.rows="0,*"; 具体的不说了,按我的方法应该可以实现!!!!} 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 示例<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <frameset cols="200,10,*" framespacing="0" frameborder="yes" border="0" bordercolor="#FFFF99" id="infoFrame"> <frame src="../jsp/leftFrame.jsp" name="leftFrame" frameborder="no" scrolling="no" noresize=""> </frame><frame id="leftbar" scrolling="no" noresize="" name="switchFrame" src="swich.html"> </frame> <frameset name="frmParent" rows="203,314" framespacing="1" frameborder="yes" border="1" bordercolor="#333333"> <frame src="searchFrame.html" name="searchFrame" frameborder="no" scrolling="no" onload="frmParent.rows = searchFrame.document.body.offsetHeight + ',*'"> <frame src="mainFrame.html" name="mainFrame" frameborder="no" scrolling="no"> </frameset> </frame> </frameset></html>searchFrame.html<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <h1>searchFrame</h1> <input type="button" value="close me" onclick="top.frmParent.rows='0,100%';"> </body></html>mainFrame.html<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <h1>Bottom Frame</h1> <input type="button" value="close me" onclick="top.frmParent.rows='100%,0';"> </body></html> jquery关于动态添加行的问题!请教高手! 关于在JS中,子窗口刷新父窗口,子窗口仍保持焦点的问题? 帮忙看看我的递归函数错在哪了? Javascript 函数参数问题? eval函数的使用 十万火急,求一条正则表达式,非常感谢 急!!==>>N个文本框 一个按钮 按下按钮 计算N个文本框的值 然后输出到另一个文本框中 如何实现? 问题:JS有编译器吗?请教大家!! 想用javascript动态在页面调入时,产生select。但有问题 为什么我的表单不能提交 用正则抽取特定数据 在firefox3下取得鼠标位置,急
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<frameset cols="200,10,*" framespacing="0" frameborder="yes" border="0" bordercolor="#FFFF99" id="infoFrame">
<frame src="../jsp/leftFrame.jsp" name="leftFrame" frameborder="no" scrolling="no" noresize="">
</frame><frame id="leftbar" scrolling="no" noresize="" name="switchFrame" src="swich.html">
</frame>
<frameset name="frmParent" rows="203,314" framespacing="1" frameborder="yes" border="1" bordercolor="#333333">
<frame src="searchFrame.html" name="searchFrame" frameborder="no" scrolling="no" onload="frmParent.rows = searchFrame.document.body.offsetHeight + ',*'">
<frame src="mainFrame.html" name="mainFrame" frameborder="no" scrolling="no">
</frameset>
</frame>
</frameset>
</html>searchFrame.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<h1>searchFrame</h1>
<input type="button" value="close me" onclick="top.frmParent.rows='0,100%';">
</body>
</html>
mainFrame.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<h1>Bottom Frame</h1>
<input type="button" value="close me" onclick="top.frmParent.rows='100%,0';">
</body>
</html>