查看文章
 
android webview 实现拖动 (touchstart,touchmove,touchend)
2011-07-03 17:41

例子:

 

$('#element').bind("touchstart",function(e){

   e.preventDefault();
      var touch = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0];
   alert(touch.pageX )

 

})


类别:默认分类||添加到搜藏 |分享到i贴吧|浏览(567)|评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
     

   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu