Hey good people of this forum..
I'm using the following code as a hover-function on thumbnails:
$(function (){
$('.button').hover(function(){
if($(this).is(":not(animated)")){$(this).animate({opacity: 0.7}, 'fast');}},
function(){
$(this).animate({opacity: 1}, 'fast' );
});
});
the problem is that when i pass over a thumb too fast, the effect keeps blinking for a while... Is there something i can add to the if()-sentence to prevent this?