<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>

解决方案 »

  1.   

    最好用这个控件,否则可能有关闭提示
    <OBJECT id=closes type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"> 
    <PARAM name="Command" value="Close"> 
    </OBJECT>另一种方法是弹出的窗口中使用opener.window.close()也可以关闭父窗口
      

  2.   

    不是要完全的全屏,
    而是要有IE的工具栏的那种,
    就是按F11键后的那种
      

  3.   

    <script>new ActiveXObject("wscript.shell").sendKeys("{F11}")</script>
      

  4.   

    <SCRIPT language="JavaScript">
     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>
      

  5.   

    <script>new ActiveXObject("wscript.shell").sendKeys("{F11}")</script>
      

  6.   

    <script>window.open("about:hehe","","channelMode")</script>
      

  7.   

    <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>
      

  8.   

    <script Language="JavaScript">
    moveTo(0,0);
    resizeTo(screen.availWidth,screen.avail.Height);
    </script>
      

  9.   

    <script>
    <!--function fullwin(targeturl){
    window.open(targeturl,"","fullscreen,scrollbars")
    }
    //-->
    </script>