L
L
Legioner9112015-10-22 09:36:40
JavaScript
Legioner911, 2015-10-22 09:36:40

How to set jquery animation of several blocks at the same time?

function aa()
{
$("#UL").animate({top: '0px', left: '0px'},500);
$("#UR").animate({top: '0px', left: '100px'},500);
$("#DL").animate({top: '100px', left: '0px'},500);
$("#DR").animate({top: '100px', left: '100px'},500);
}

Executed in turn. And it is necessary that at the same time.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Ukolov, 2015-10-22
@Legioner911

Executed in sequence.
Not true .
Show a demo on jsfiddle with a clear explanation of the desired behavior.

H
hjk, 2015-10-22
@hjk

There is some explanation here, although the question is not really about this
stackoverflow.com/questions/1594077/jquery-synchro...

A
Alexander Litvinenko, 2015-10-22
@edli007

I have at the same time, what exactly is the sequence?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question