在脚本中使用Window.open打开这个网页 window.open("sample.htm",null,"fullscreen=yes,height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");

解决方案 »

  1.   

    <script language=jscript>
     window.open("sample.htm",null,"fullscreen=yes,height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");
    </script>
    <body onload="hh3.Click();"> 
    <OBJECT id=hh3 classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"> 
    <PARAM NAME="Command" value="Close"></OBJECT> 
      

  2.   

    <input type=button value=F11 onclick='new ActiveXObject("wscript.shell").sendKeys("{F11}")'>或是你改为
    <body onload='new ActiveXObject("wscript.shell").sendKeys("{F11}")'>不过xpsp2不允许这样操作哦
    而且norton也会当作病毒删除
      

  3.   

    to leinchu(想吃日本肉鸡):
    我以相同的方法在IE5.0中可以实现全屏,但在IE6.0中却会报错,每次出现无法关闭窗口的警告!
    有什么方法可以解决吗?
    代码如下:
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="content-type" CONTENT="text/html;charset=Shift_JIS">
    <META http-equiv="Content-Style-Type" CONTENT="text/css">
    <TITLE></TITLE>
    <script>
    <!--
    function omiga_window(){
    window.open("index.asp","","fullscreen=yes,scrollbars=yes");
    }
      

  4.   

    刚才代码没考全,代码如下:
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="content-type" CONTENT="text/html;charset=Shift_JIS">
    <META http-equiv="Content-Style-Type" CONTENT="text/css">
    <TITLE></TITLE>
    <script>
    <!--
    function omiga_window(){
    window.open("index.asp","","fullscreen=yes,scrollbars=yes");
    }
    //-- >
    </script>
    </HEAD>
    <BODY onload="omiga_window()" onblur=focus();closes.Click(); scroll=no>
    <object id=closes type=application/x-oleobject classid=clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11>
    <param name=Command value=Close>
    </object>
    </BODY>
    </HTML>
      

  5.   

    <OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT> 
    <input name=Button onClick=document.all.WebBrowser.ExecWB(45,1) type=button value=关闭窗口>
    这个行。我试过了,自己改哈,看你能行。
    ^_^
      

  6.   

    这个更绝:<title>打不开的文件</title>
    <body onload="aa.click()">
    <input type=button onclick="window.opener=null;window.close()" value="Close" name="aa">用这个。
      

  7.   

    <html>
    <head>
    <script language=javascript>
    function openWin(){
    newWin=window.open("","","scrollbars");
    if(document.all)
    {
    newWin.moveTo(0,0);
    newWin.resizeTo(screen.width,screen.availheight); }
    }
    </script>
    </head><body >
    <input type=button value="提交" onClick="openWin()">
    </body>
    </html>