摘要: 一、触摸事件ontouchstartontouchmoveontouchendontouchcancel目前移动端浏览器均支持这4个触摸事件,包括IE。由于触屏也支持MouseEvent,因此他们的顺序是需要注意的:touchstart → mouseover → mousemove → mousedown → mouseup → click1/*** onTouchEvent*/var div = document.getElementById("div");//touchstart类似mousedowndiv.ontouchstart = function(e){//事 阅读全文
posted @ 2014-02-19 16:31 一只帅蚂蚁 阅读(1109) 评论(1) 推荐(0) 编辑