Closed minivan closed 11 years ago
It works great unless the user moves the mouse in and out of the element really quickly several times. I solved this with .stop(true,true) function:
$(letter).stop(true,true).animate {left: "-="+delta+"em"}, 500
$letter.stop(true,true).animate {left: delta+"em"}, 500
The cute animation on hovering upon the logo in the header doesn't work right. I don't really know what to do with it, I must have missed something important. Either way, will keep it here for future reference.
Pretty much all of it is in this fiddle: http://jsfiddle.net/Cwzga/8/