09 2017 档案

摘要:博客原文地址: "Claiyre的个人博客 https://claiyre.github.io/" 如需转载,请在文章开头注明原文地址 移动端click事件被延迟 移动端的开发经常需要监听用户的双击行为,所以在touchend事件之后会有300ms左右的延迟,用来判断是否有双击事件。 因为这种延迟, 阅读全文
posted @ 2017-09-16 20:16 Claiyre 阅读(778) 评论(0) 推荐(0) 编辑
摘要:1.element要用getElementById or ByTagName来得到, 2.setAttribute("class", vName)中class是指改变"class"这个属性,所以要带引号。 3.IE中要把class改成className,.....IE不认class,所以最好写两句, 阅读全文
posted @ 2017-09-10 10:47 Claiyre 阅读(636) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示