摘要: js实现回到顶部主要知识点:1.window.onload:页面加载完成触发事件2.document.documentElement.clientHeight:获取可视区高度3.window.onscroll:滚动条触发事件4.document.documentElement.scrollTop |... 阅读全文
posted @ 2015-03-25 21:17 狂奔的小李子 阅读(187) 评论(0) 推荐(0) 编辑