摘要: 1 pushHistory(); 2 3 function pushHistory() { 4 var state = { 5 title: "title", 6 url: "#" 7 }; 8 window.history.pushState(state, "title", "#"); 9 } ... 阅读全文
posted @ 2016-06-30 18:11 光谷阿祖 阅读(8501) 评论(0) 推荐(0) 编辑
摘要: //获取URL的参数 var $_GET = (function () { var url = window.document.location.href.toString(); var u = url.split("?"); if (typeof (u[1]) == "string") { ... 阅读全文
posted @ 2016-06-30 18:09 光谷阿祖 阅读(454) 评论(0) 推荐(0) 编辑