05 2017 档案

浏览器地址截取
摘要:var urlData = location.search.split('?')[1].split("&"); var datatype = location.search.split('?')[1].split("=")[1] 阅读全文

posted @ 2017-05-24 14:23 124331 阅读(146) 评论(0) 推荐(0)

mui - 滑动置顶
摘要:var scroll = mui('.mui-scroll-wrapper').scroll(); document.querySelector('.mui-scroll-wrapper').addEventListener('scroll', function(e) { var top = scr 阅读全文

posted @ 2017-05-23 15:18 124331 阅读(266) 评论(0) 推荐(0)

回到顶部
摘要:$('body,html').animate({scrollTop:0},0); 阅读全文

posted @ 2017-05-23 15:18 124331 阅读(92) 评论(0) 推荐(0)

中文转义
摘要:encodeURI() 阅读全文

posted @ 2017-05-18 11:02 124331 阅读(395) 评论(0) 推荐(0)

导航