如何刷新frameset的字窗口
2008-07-17 16:44
351 查看
这是页面:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style>
#leftFrame {border-right:1px solid #a0bfe2}
</style>
</head>
<frameset rows="65,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" />
<frameset rows="*" cols="160,*" framespacing="0" frameborder="no" border="0">
<frame src="" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" />
<frame src="" name="mainFrame" id="mainFrame" scrolling="Yes" />
</frameset>
</frameset>
<noframes>
<body>
</body>
</noframes>
</html>
这是脚本:
window.parent.topFrame.location.reload();
window.parent.leftFrame.location.reload();
window.parent.mainFrame.location.reload();
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style>
#leftFrame {border-right:1px solid #a0bfe2}
</style>
</head>
<frameset rows="65,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" />
<frameset rows="*" cols="160,*" framespacing="0" frameborder="no" border="0">
<frame src="" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" />
<frame src="" name="mainFrame" id="mainFrame" scrolling="Yes" />
</frameset>
</frameset>
<noframes>
<body>
</body>
</noframes>
</html>
这是脚本:
window.parent.topFrame.location.reload();
window.parent.leftFrame.location.reload();
window.parent.mainFrame.location.reload();
相关文章推荐
- 如何设置窗口立即刷新显示
- [导入]如何点击按钮弹出新窗口,输入数据后返回并刷新页面?(老孟)
- 如何关闭弹出窗口,刷新父窗口?
- 如何点击按钮弹出新窗口,输入数据后返回并刷新页面?
- 如何刷新弹出窗口父窗口,关闭弹出窗口
- ASP.NET如何刷新父窗口的javascript腳本
- js如何关闭当前页,而不弹出提示框 尤其是万恶的IE||关闭子窗口同时刷新父窗口
- 如何点击按钮弹出新窗口,输入数据后返回并刷新页面?(老孟)
- 如何运用onunload事件判断浏览器是刷新还是关闭窗口
- 如何点击按钮弹出新窗口,输入数据后返回并刷新页面?(转自孟子E章)
- 如何使一个窗口关闭的同时另一个窗口刷新
- 在打开的子窗口刷新父窗口的代码里如何写
- 如何使一个窗口关闭的同时另一个窗口刷新
- 如何点击按钮弹出新窗口,输入数据后返回并刷新页面?
- 如何使得 弹出对话框不关闭但也能刷新他的父窗口
- [ASP.NET]如何点击按钮弹出新窗口,输入数据后返回并刷新页面?(C#代码)
- 如何判断某个弹出窗口已经被打开及刷新 推荐
- javascript如何刷新父窗口
- js 刷新windows.open另一个窗口页面或window.open的页面如何刷新(父页面)上层页面
- 整体刷新和局部刷新frameset窗口问题深入探讨