JavaScript中的兼容性问题
摘要:
1.获取滚动距离的兼容性问题: document.documentElement.scrollTop document.body.scrollTop 2.获取非行间样式 getComputedStyle(元素,false)[attr] 元素.currentStyle[attr] 3.索引获取字符串的 阅读全文
posted @ 2019-08-21 15:29 唯一、 阅读(227) 评论(0) 推荐(0) 编辑