window.screen.height
window.screen.width
//不会改变
html,body{
w2000
h2000
}
要获取
document.body
document.documentElement
内容的实际宽高
document.documentElement.scrollHeight || document.body.scrollHeight
document.documentElement.scrollWidth || document.body.scrollWidth
document.documentElement.scrollTop|| document.body.scrollTop