12 2017 档案

摘要:pushHistory(); window.addEventListener("popstate", function(e) { alert("我监听到了浏览器的返回按钮事件啦");//根据自己的需求实现自己的功能 }, false); function pushHistory() { var state = { ... 阅读全文
posted @ 2017-12-26 11:48 *的一手好诗 阅读(5534) 评论(1) 推荐(0)
摘要:function loadURL(url) { var iFrame; iFrame = document.createElement("iframe"); iFrame.setAttribute("src", url); iFrame.setA... 阅读全文
posted @ 2017-12-21 15:51 *的一手好诗 阅读(6683) 评论(0) 推荐(0)
摘要:document.addEventListener('touchstart', touch, false); document.addEventListener('touchmove', touch, false); document.addEventListener('touchend', touch, false); var tn = 0; functi... 阅读全文
posted @ 2017-12-07 15:32 *的一手好诗 阅读(1269) 评论(0) 推荐(0)