I’m trying to make a clever contact page. I’ve got my jQuery animations all working correctly, the only thing left is that I want to prevent animations from queueing up a bunch when you roll over the links quickly.
Typically, I know you can use .stop() to prevent that, but I’m not sure how to do it in this scenario. So:
- How do I prevent jquery animations from queueing up multiple times on mouse-over?
- If anyone wants to provide insight on how to clean up my messy jQuery, that would be a bonus.
Working code: jsFiddle (mouse over the button links)
This seemed to work for me on a dropdown menu:
In context, in my code: