Buggy logo animation on the main page
Closed this issue · 3 comments
minivan commented
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/
savavirtosu commented
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