*Press & hold mouse/touch "long click" special event for jQuery 1.4.x
- This method is a shortcut for
.bind("longclick", handler)
in the first variation and.trigger("longclick")
in the second. - If supplied, custom duration (in milliseconds) is used for target element(s).
- Returns jQuery.
jQuery.longclick.duration
- for how long mouse button must be pressed down (or touched) stationery for the event to fire. Defaults to 500 (milliseconds).
Under intensive development. v0.x works just fine, but is very "fluid" API-wise. Till v1.0.
Free for use in all personal or commercial projects under both MIT and GPL licenses.
Copyright (c) 2010 Petr Vostřel » Check out my other jQuery plugin Reel for 360° image projection