首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 一个特殊的jQuery事件,支持鼠标手势、插件包事件。

一个特殊的jQuery事件,支持鼠标手势、插件包事件。

资 源 简 介

Include jquery.event.special.gesture.js after jquery (of course) to enable the capture of mouse gestures. An extra attribute "gesture" is attached to the event object. The event handler must check that value to determine which gesture occured to trigger the event. The values of "gesture" are determined by the sequence of movements (up,down,left, and right) the user makes once the gesture is started (mouse down). Therefore a gesture with the value "UDLR" means the user started the gesture (mouse down) moved their mouse up then down then left then right before ending the gesture (mouse up). Also check out the plug-in that wraps the gesture event.
VIP VIP
0.201470s