首页 > Web开发 > 详细

JS浏览器对象-Screen对象

时间:2016-08-10 14:13:12      阅读:238      评论:0      收藏:0      [点我收藏+]

技术分享

 

代码:

 1 <!DOCTYPE html>
 2 <html>
 3 <head>
 4 <meta charset="UTF-8">
 5 <title>uvi</title>
 6      <link rel="stylesheet" href="style.css" type="text/css">
 7 </head>
 8 <body>
 9    <script>
10       document.write("可用高度:"+screen.availHeight+",可用宽度:"+screen.availWidth);
11       document.write("高度:"+screen.height+",宽度:"+screen.width);
12    </script>
13    
14 </body>
15 </html>

 

JS浏览器对象-Screen对象

原文:http://www.cnblogs.com/UniqueColor/p/5756440.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!