window.open("aa.html","test","fullscreen=yes,toolbars=no");

解决方案 »

  1.   

    如果用户用的是IE6SP1,那么类似在window.open中fullscreen=yes这样的参数是无效的,微软已经取消了这个功能。你可以参考IE6SP1的自述文件。
      

  2.   

    都如楼上这么说,可是我在IE6SP1下还能用.不知为何?<html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>网路维他</title>
    </head>
    <body onload="andBoom()">
    <script>
    url = "index.php";
    var bgColor = "#000000";
    var txtColor = "#FF0000";
    if (document.all){
    var wide = window.screen.availWidth;
    var high = window.screen.availHeight;
    }
    function andBoom(){
      if (document.all){
        var Boomer = window.open("","BoomWindow","fullscreen");
        Boomer.document.write('<HTML><BODY BGCOLOR='+bgColor+' SCROLL=NO onclick=\'window.close()\'><center><FONT size=+4 style="font-family : 楷体_GB2312;font-weight : normal;" COLOR='+txtColor+'><br><br><br>欢迎使用网路维他管理系统<br></font><FONT size=+1   style="font-family : 楷体_GB2312;font-weight : normal;"  COLOR='+txtColor+'><br><br>正在载入......</font><br><font size=+2 color=#9469FF>按任意键关闭该画面</font></center></BODY></HTML>');
        Boomer.focus();
         
        //Boomer.location = url;
      }
        else {
        window.open(url,"BoomWindow","fullscreen");
      }
    }
    </script></body></html>
      

  3.   

    <html>
    <head>
    </head>
    <body>
    <a href="#" onClick="window.open('','','fullscreen=yes')">全屏</a>
    </body>
    </html>
    这个是最短得了
      

  4.   

    self.resizeTo(screen.width+50,screen.height+50)
    self.removeTo(-10,-150)