试了 IE6 和 FF,只支持 IE6<html>
<head>
<script>
function maxWin(){
if(screen.availWidth - (document.body || document.documentElement).offsetWidth > 0){
document.getElementById("max").Click();
}
}
</script>
</head><body onload="maxWin()">
<object id="max" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Maximize">
</object>
</body>
</html>
<head>
<script>
function maxWin(){
if(screen.availWidth - (document.body || document.documentElement).offsetWidth > 0){
document.getElementById("max").Click();
}
}
</script>
</head><body onload="maxWin()">
<object id="max" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Maximize">
</object>
</body>
</html>
<!--
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
//-->
</script>