I have a div with 2 divs inside it. The container div is positioned relative, and the 2 inside it are positioned absolute, one on top of the other (on the z axis).
I made it so that when the mouse enters the container div, the top div slides up and you see the one underneath, and when the mouse leaves it slides back down, but when you go in and out a few times before the animation has finished, it will slide up and down for every time you did it instead of just finishing the last one.
So I used the stop() on the top div before the animation each time, and now it will slide back down even if it's only gone half way up (which is good), but now when I move the mouse in and out really fast, sometimes it will stay at halfway and eventually it will just stay up or down no matter where you put the mouse.
Any suggestions?