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.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.0 Download (7.53 KB) 2009-Jul-01 Notes
5.x-1.0 Download (7.48 KB) 2009-Jul-01 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev Download (7.54 KB) 2009-Jul-02 Notes
5.x-1.x-dev Download (7.49 KB) 2009-Jul-02 Notes


 
 

Drupal is a registered trademark of Dries Buytaert.