tags:

views:

45

answers:

3

In a list of links, I only want to activate the hover behavior for those links after the person is hovering over that link for a certain amount of time (say 1 second). So if they happen to just pass over the link (for less than one second) I don't want the hover event to occur.

Does anyone know how to do this or have any examples of this? Thanks!

+2  A: 

Yes, There is a plugin for jQuery called hoverIntent that does what you describe.

Peter Anselmo
Cor 10 secs quicker!
Dr. Frankenstein
Thanks Peter, this fixed my problem.
+1  A: 

I highly recomend using the hover intent jquery plugin for this. It's solved this problem for me before and seems to be very well written and light.

Dr. Frankenstein
Thank you, this was very helpful!
No worries, if this did the trick - tick @Peter Anselmo's as his was first.
Dr. Frankenstein
+1  A: 

You can use delay in your hover chain:

http://api.jquery.com/delay/

There is also a plugin called "hoverIntent" which I would link you to if I was allowed.

Spencer