<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head><body onLoad="DoInit()">
<object id="MaxButton" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
  <param name="Command" value="Maximize">
</object>
<script language="JavaScript">
  function DoInit(){
    if (document.body.offsetWidth != screen.availWidth)  
      MaxButton.Click()  
  }
</script>
</body>
</html>

解决方案 »

  1.   

    <html>
    <title></title>
    <head>
    </head>
    <body scroll=no oncontextmenu=self.event.returnValue=false>
    <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();</script>
    <SCRIPT LANGUAGE="javaScript">
    <!--
    winds=open("","tnwd","fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0",true);
    winds.document.write ("<html><head></head><body scroll=no></body></html>");
    winds.location="about:blank";
    //-->
    </script> 
    <body>
    </html>
      

  2.   

    <body onLoad="clo.Click()"> 
    <script language="JavaScript" type="text/JavaScript">
      window.open('index.html','star','fullscreen');
    </script>
      

  3.   

    <body onLoad="clo.Click()"> 
    <script language="JavaScript" type="text/JavaScript">
      window.open('index.html','star','fullscreen=yes');
    </script
      

  4.   

    第一个页面index.htm
    <html>
    <head>
    <title>无标题文档</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <script LANGUAGE="JavaScript" >
    function closewindows()
    { //关闭窗口
     document.all.WebBrowser.ExecWB(45,1);
    }
    function openmainwindows()
    {//打开主界面窗口
      window.open('main.htm','','resizable=1,scrollbars=0,status=1,menubar=no,toolbar=no,location=no, menu=no');
    }
    </script>
    </head><body bgcolor="#FFFFFF" text="#000000">
    <object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
    </object>
    <script LANGUAGE="JavaScript" >
    openmainwindows();
    closewindows();
    </script>  
    </body>
    </html>把文中的main.htm改为你的主页面名
      

  5.   

    同意上面几位的意见,可以在页面的onload事件中window.open
    window.opener=null
    window.close()来关闭刚打开的页面。