hoverIntent

aaron - January 24, 2008 - 18:58

This is a wrapper module for the hoverIntent jQuery module. The d5 version requires the jQuery Update module. Both d5 and d6 optionally support the jQ module.

hoverIntent is a plug-in that attempts to determine the user's intent... like a crystal ball, only with mouse movement! It works like (and was derived from) jQuery's built-in hover. However, instead of immediately calling the onMouseOver function, it waits until the user's mouse slows down enough before making the call.

Why? To delay or prevent the accidental firing of animations or ajax calls. Simple timeouts work for small areas, but if your target area is large it may execute regardless of intent. Also, because jQuery animations cannot be stopped once they've started it's best not to start them prematurely.

Releases

Official releasesDateSizeLinksStatus
6.x-1.02009-Jul-017.53 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.02009-Jul-017.48 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Jul-027.54 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2009-Jul-027.49 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.