摘要: 1 window.onscroll = function() {scrollFunction()}; 2 3 function scrollFunction() { 4 if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { 5 document.getEle... 阅读全文
posted @ 2018-08-25 13:58 前端极客 阅读(143) 评论(0) 推荐(0) 编辑