遇到问题啦~~javascript

js中的clientHeight、offsetHeight、还有什么document.documentElement.scrollTop||
document.body.scrollTop 具体怎么解释呢 有点概念不清晰

clientHeight 返回浏览器内部窗口高度,随浏览器的窗口的大小变化
offsetHeight返回,任何一个元素的高度包括边框和填充,但不是边距
后面两个
document.documentElement.scrollTop表示根节点html
document.body.scrollTop表示相对于body节点(无意义,一直都是零)