摘要: var mybody = document.getElementsByTagName('body')[0]; //滑动处理 var startX, startY, moveEndX, moveEndY, X, Y; mybody.addEventListener('touchstart', func 阅读全文
posted @ 2019-01-03 13:08 Leo_Charlie 阅读(319) 评论(0) 推荐(0)
摘要: window.location.href window.location属性 描述hash 设置或获取 href 属性中在井号“#”后面的分段。host 设置或获取 location 或 URL 的 hostname 和 port 号码。hostname 设置或获取 location 或 URL 的 阅读全文
posted @ 2019-01-03 13:05 Leo_Charlie 阅读(184) 评论(0) 推荐(0)