Newbie Q: preventing bounce effect
Hi all-
I have a simple animation which is supposed to animate font size
change with mouseover. Works ok, but when mouseout occurs sometimes
there's an unwanted bounce effect, where the font size sort of pulses
before settling back to the default.
Can someone suggest how to prevent this bounce effect?
Thanks!
The code:
<script type="text/javascript">
$(".some-ul li a").mouseover(function() {
$(this).animate({fontSize:'15px'},400);
}).mouseout(function() {
$(this).animate({fontSize:'12px'},400);
});
</script>
-SWW