标签:
<head> <title> new document </title> <meta name="generator" content="editplus" charset="utf-8"/> </head> <script language="javascript"> document.write("screen.availHeight:"); document.write(screen.availHeight+"<br>"); document.write("screen.availWidth:"); document.write(screen.availWidth+"<br>"); document.write("screen.height:"); document.write(screen.height+"<br>"); document.write("screen.width:"); document.write(screen.width+"<br>"); </script> <body> </body>
Javascript之获取屏幕宽高
原文地址:http://www.cnblogs.com/caidupingblogs/p/5529540.html