div弹出窗口在frameset外层解决方案 10
首页div需要覆盖的frame 放到引入的页面里,用iframe调用。
---call.html---
<html>
<body>
<div id='popId' class='' style="position:absolute;float:left;top=5;left=25;display='none';z-index:2;"> 弹出div</div>
<iframe src="mainindex.html" width=100% height=100% marginwidth=0>
</body>
</html>
--mainindex.html--
<frameset rows="30,*" style="z-index:1">
<frame src="topframe.html" style="z-index:1">
<frameset cols="30,*" style="z-index:1">
<frame src="menuframe.html" style="z-index:1">
<frame src="mainframe.html" style="z-index:1">
</frameset>
<frame src="footframe.html" style="z-index:1">
</frameset>
js 动作
<a onclick="top.divframe.document.getElementById('popId').style.display='block'">显示DIv</a>
--the end!