摘要: 1.返回html文档元素document.documentElement 2.文档的高度document.body.clientHeight 3.html文档可视高度==页面可见区域的高度document.documentElement.clientHeight 4.获取元素距离文档顶部的距离doc 阅读全文
posted @ 2019-05-22 14:21 时光凉忆 阅读(295) 评论(0) 推荐(0) 编辑