<SCRIPT language="JavaScript">
function toFull(){
if(window.name=="fullscreen")return;
var a =window.open("","fullscreen","fullscreen=yes")
a.location = window.location.href
window.opener=null
window.close()
}
toFull();
</SCRIPT>
<html>
<body>
//在这儿填写具体内容
<input type=button value=关闭 onclick=window.close()>
</body>
</html>
function toFull(){
if(window.name=="fullscreen")return;
var a =window.open("","fullscreen","fullscreen=yes")
a.location = window.location.href
window.opener=null
window.close()
}
toFull();
</SCRIPT>
<html>
<body>
//在这儿填写具体内容
<input type=button value=关闭 onclick=window.close()>
</body>
</html>
<OBJECT id=closes type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM name="Command" value="Close">
</OBJECT>另一种方法是弹出的窗口中使用opener.window.close()也可以关闭父窗口
而是要有IE的工具栏的那种,
就是按F11键后的那种
function toFull(){
if(window.name=="fullscreen")return;
var a =window.open("","fullscreen","channelmode")
a.location = window.location.href
window.opener=null
window.close()
}
toFull();
</SCRIPT>
<html>
<body>
//在这儿填写具体内容
<input type=button value=关闭 onclick=window.close()>
</body>
</html>
<OBJECT id=closes type="application/x-oleobject"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM name="Command" value="Close">
</OBJECT>
<SCRIPT language="JavaScript"><!--
closes.Click();
window.open("你的主页.htm","","fullscreen=yes");
// --></SCRIPT>
</html>
moveTo(0,0);
resizeTo(screen.availWidth,screen.avail.Height);
</script>
<!--function fullwin(targeturl){
window.open(targeturl,"","fullscreen,scrollbars")
}
//-->
</script>