Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

hoverIntent

Sam
edited April 2012 in Design
I'm noticing it's quite easy to bug the Tools menu out (hover on the link, as it expands, move the cursor where it will expand to, and the menu will go into a slide up/down loop)

The hoverIntent jQ plugin remedies this by applying a timeout, and will only fire the event if the cursor is stationary (or moving slowly).

http://cherne.net/brian/resources/jquery.hoverIntent.html

Hope that helps.

Comments

  • Thanks! Tried that script out but it was giving me a strange error on an apply() call. Google didn't turn up much, so instead of debugging it I just made a change to the script that disables the link hovers while the menu is sliding up. That should prevent it from glitches for the most part, but let me know if it's still buggy for you with the latest commit.
  • Looks to be a sound solution!
Sign In or Register to comment.