To determine the actual size of the browser window, use the following propertiesin Netscape Navigator 4:
window.innerWidth, window.innerHeight
in Microsoft Internet Explorer:
document.body.offsetWidth, document.body.offsetHeightwindow.pageYOffset
Gets the amount of content that has been hidden by scrolling down
window.innerWidth, window.innerHeight
in Microsoft Internet Explorer:
document.body.offsetWidth, document.body.offsetHeightwindow.pageYOffset
Gets the amount of content that has been hidden by scrolling down
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货