HTML DOM Screen 对象
height 属性声明了显示浏览器的屏幕的高度,以像素计。
screen.height
<html> <body> <script type="text/javascript"> document.write("<p>Height: ") document.write(screen.height + "</p>") </script> </body> </html>
Search: