javascript - jQuery animation only works once or twice? -
i'm putting site client has requested specific animation in quicklink scroller.
i've used jquery animate , jquery fadein complete glass-shine , glow effect on hover, when hovered once or twice (partcularly if done in quick succession) stops happening?
link: http://clientzone.fifteenten.co.uk/visioncode/html
$('.fadehover').append('<div class="hover"></div>'); $('.fadehover').hover( function() { $(this).children('div.hover').animate({"left": "+=505px"}, 300);}, function() { $(this).children('div.hover').css({left: "-=" + 505}); }); $('.fadehover a').hover( function() { $(this).children('div.qlink_glow').fadein('fast')}, function() { $(this).children('div.qlink_glow').fadeout('fast'); }); any assistance hugely appreciated i'm confused... i've had happen on other hover effects too
try .stop(true,true) before .animate, .fadein , .fadeout
Comments
Post a Comment