标签:
浏览器窗口的高度和宽度:
var w=window.innerWidth|| document.documentElement.clientWidth|| document.body.clientWidth; //获取页面宽度
var h=window.innerHeight|| document.documentElement.clientHeight|| document.body.clientHeight; //获取页面高度
标签:
原文地址:http://www.cnblogs.com/xinlinux/p/4280178.html