147
rated 0 times
[
152]
[
5]
/ answers: 1 / hits: 159916
/ 15 Years ago, sun, august 9, 2009, 12:00:00
Is it possible to run two animations on two different elements simultaneously? I need the opposite of this question Jquery queueing animations.
I need to do something like this...
$('#first').animate({ width: 200 }, 200);
$('#second').animate({ width: 600 }, 200);
but to run those two at the same time. The only thing I could think of would be using setTimeout
once for each animation, but I don't think it is the best solution.
More From » jquery