hi, what is wrong in this code? I'm trying to get this effect: fadeOut(500) and attr('class','myClass') delayed by 600 millisecs.. then delay(600) again, and fadeIn(500). The delays happen correctly but the attr() is not being delayed, it fires when #myDiv is still fading! :'(
$('#myDiv').fadeOut(500).delay(600).attr('class','myClass').delay(600).fadeIn(500);
many thanks in advance for any suggestions! Luca