Possible Duplicate:
How do you fadeIn and animate at the same time?
I would like to fade in and animate a div in a same time by using jquery. Here is my code:
$('#div').fadeIn('slow').animate({'left' : '5%'}, duration);
The problem is, I'm fading first and then, the div is starting to animated itself;
I tried this too, but I had no result:
$('#div').fadeIn('slow');
$('#div').animate({'left' : '5%'}, duration);
Thanks