<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<frameset rows="90,*" framespacing="0" frameborder="NO" border="0">
<noframes>您的浏览器不支持框架</noframes>
<frame src="top.html" name="top" scrolling="NO" noresize id="top">
<!--<frame src="empty_a.html" name="empty" scrolling="NO" id="empty"> -->
<frameset cols="190,*" framespacing="0" frameborder="NO" border="0">
<frame src="nav.html" name="left" scrolling="anto" noresize d="left">
<frame src="body.html?" name="right" scrolling="auto" id="right">
<noframes>您的浏览器不支持框架</noframes>
</frameset>
</frameset>
</head><body>
</body>
</html>在body.html中
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<script>
function save(){
window.parent.top.document.form1.action='url'; //设定提交的地址
window.parent.top.document.form1.submit(); //对应<frame src="top.html" name="top" scrolling="NO" noresize id="top">
window.parent.left.document.form1.action='url';
window.parent.left.document.form1.submit(); //对应<frame src="nav.html" name="left" scrolling="anto" noresize id="left">
document.form1.action='url';
document.form1.submit();}
</script>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD><BODY>
<form name = 'form1'action="" method="post" >
<input type = "submit" onclick = "save()">
</form>
</BODY>
</HTML>没有测试 但是大概就是这个意思了
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<frameset rows="90,*" framespacing="0" frameborder="NO" border="0">
<noframes>您的浏览器不支持框架</noframes>
<frame src="top.html" name="top" scrolling="NO" noresize id="top">
<!--<frame src="empty_a.html" name="empty" scrolling="NO" id="empty"> -->
<frameset cols="190,*" framespacing="0" frameborder="NO" border="0">
<frame src="nav.html" name="left" scrolling="anto" noresize d="left">
<frame src="body.html?" name="right" scrolling="auto" id="right">
<noframes>您的浏览器不支持框架</noframes>
</frameset>
</frameset>
</head><body>
</body>
</html>在body.html中
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<script>
function save(){
window.parent.top.document.form1.action='url'; //设定提交的地址
window.parent.top.document.form1.submit(); //对应<frame src="top.html" name="top" scrolling="NO" noresize id="top">
window.parent.left.document.form1.action='url';
window.parent.left.document.form1.submit(); //对应<frame src="nav.html" name="left" scrolling="anto" noresize id="left">
document.form1.action='url';
document.form1.submit();}
</script>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD><BODY>
<form name = 'form1'action="" method="post" >
<input type = "submit" onclick = "save()">
</form>
</BODY>
</HTML>没有测试 但是大概就是这个意思了
解决方案 »
- 网页关闭时 如何在对话框上增加链接,或者能否自定义对话框?
- iframe内容改变时触发一个函数
- 求一个正则表达式,谢谢来帮忙看看.
- <font id="ttt">12345</font> 在js中如何取font 之间的内容 12345 在线等
- 做一个乘法表,就像九九乘法表那样的,可是不要九,而是输入几,就生成一个几几的乘法表。急,高手请指教!
- 两个FRAME的通信问题(在线等)
- jquery.fn.extend的疑问
- 请帮我检查一下为什么调不出页面
- 消息提醒的功能,能用js开发吗?
- iframe刷新问题,高手进!
- 表单表格submit时如何判断其中的一行是否有元素为空?
- 如何用Javascript控制Label的显示位置
if(f2.submit()){
a.submit();
}
}