jquery finish one animation then start the other one
Posted
by Emin
on Stack Overflow
See other posts from Stack Overflow
or by Emin
Published on 2009-01-20T16:02:53Z
Indexed on
2010/03/18
18:41 UTC
Read the original article
Hit count: 435
jQuery
|JavaScript
I have one two divs and two seperate links that triggers slideDown and slideUp for the divs.
When one of the divs are slided down and I click the other one, I hide the first div (slidingUp) and then open the other div (slidingDown) but, at the moment its like while one div is sliding down, the other, also in the same time, is sliding up.
is there a way that would tell jquery to wait to finish sliding down of one div and only then start sliding up the other ?
© Stack Overflow or respective owner