这个最大化不好用,你试试:
function window.onload(){
if(window.name=="qswh")return;
hhctrl.Click();window.name="qswh";
}
</script>
<BODY bgcolor="#000000"><center>
<OBJECT id=hhctrl type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"> 
<param name="Command" value="MAXIMIZE"> 
</object>
后来我采用中间页过渡的方法!

解决方案 »

  1.   

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>无标题文档</title>
    <script>
    function window.onload(){
    var screenwidth=screen.width-10;
    var screenheight=screen.height-56;
    window.open("load.aspx","","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width="+screenwidth+",height="+screenheight+",top=0,left=0");
    opener=null;
    close();
    }
    </script>
    </head>
    <body>
    </body>
    </html>
      

  2.   

    <OBJECT id="min" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
    <PARAM name="Command" value="Minimize">
    </OBJECT>
    <button onclick="min.Click()"><font face="webdings">0</font></button>
    <OBJECT id="max" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
    <PARAM name="Command" value="Maximize">
    </OBJECT>
    <button onclick="max.Click()"><font face="webdings">1</font></button>
    <OBJECT id="clo" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
    <PARAM name="Command" value="Close">
    </OBJECT>
    <button onclick="clo.Click()"><font face="webdings">r</font></button>