<html>  

<script language="JavaScript">  

top.window.moveTo(0,0);  

//判断是否为IE浏览器  

if (document.all)   

{   

top.window.resizeTo(screen.availWidth,screen.availHeight);  

}  

//判断是否为Netscape浏览器(document.layers是Netscape 4.x专有的属性,由于  

//document.layers在Netscape6.0以后已经取消,此方法只适用于6.0之前的浏览器)  

else if (document.layers||document.getElementById)   

{

if(top.window.outerHeight<screen.availHeight||  

top.window.outerWidth<screen.availWidth)  

{  

 top.window.outerHeight = screen.availHeight;  

    top.window.outerWidth = screen.availWidth;  

}  

}  

</script>  

<head>  

</head>  

<body>  

</body>  

</html> 

相关文章:

  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
  • 2021-09-17
  • 2021-10-11
  • 2021-11-19
猜你喜欢
  • 2021-09-06
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
相关资源
相似解决方案