jquery finish one animation then start the other one
- by Emin
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 ?