打开IE窗口自动最大化效果

1、在Head中放入js代码

<SCRIPT LANGUAGE="javascript">
function winSizer(){
 windowWidth = window.screen.availWidth;
 windowHeight = window.screen.availHeight;
 window.moveTo(0,0);
 window.resizeTo(windowWidth,windowHeight);
}
</SCRIPT>

2、在body中调用js
<body onLoad="winSizer()">

</body>

posted @ 2009-05-21 15:37  EasyPass  阅读(389)  评论(0编辑  收藏  举报