<head>
<title>page A </title>
<script type="text/javascript">
function newPage(){
window.open("替换成你的弹窗网址")
}
</script>
</head>
<body onload="newPage()">
<h1>My Website</h1>
</body>
</html>
在不想被放在IFRAME的页中加入如下JS语句,可使该页从IFRAME中跳出.<script language="javascript" type="text/javascript">
if(top.location!=self.location)top.location=self.location
</script>