js获取元素相对窗口位置的实现代码 JS获取元素的offsetTop,offsetLeft等属性 obj clientWidth 获取元素的宽度 obj clientHeight 元素的高度 JavaScript 2022-04-03 89 点赞 1 评论 134 浏览