阅读背景:

使用Scriptaculous拖放防止JavaScript单击事件

来源:互联网 

I have some elements on a page which are draggable. These same elements have a click event which navigates to another page. I'm trying to determine the best way of preventing the click event from firing if the user is dragging but still allow the click event if not dragging. Anyone have any ideas of the best way to accomplish this?I have some elements on a page which are dragga




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: