搞清clientHeight、offsetHeight、scrollHeight、offsetTop、scrollTop
摘要:
网页可见区域高:document.body.clientHeight 网页正文全文高:document.body.scrollHeight网页可见区域高(包括边线的高):document.body.offsetHeight网页被卷去的高:document.body.scrollTop 屏幕分辨率高: 阅读全文
posted @ 2021-12-21 16:34 itjeff 阅读(85) 评论(0) 推荐(0) 编辑