您的位置:首页 > Web前端 > HTML

如何刷新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();

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  border xhtml html 脚本