摘要: 在使用html5做在手机上显示轮播图片的效果时突然遇到touchmove事件在touchstart事件之后只触发了一次touchmove之后和touchend一起触发了一次,咦,这是怎么回事?怎么不和mousemove一个道理呢,最后查了查资料是因为没设置事件阻止引起的 //绑定事件 function bindEvent() { document.getElementById("divid").addEventListener('touchstart', touchSatrtFunc,false); ... 阅读全文
posted @ 2014-01-04 15:50 win_and_first 阅读(1309) 评论(0) 推荐(0) 编辑