I am using the simplicity of animation given here using JQUERY EASING PLUGIN
i.e. deleting a div from left: 200 left: 0 and back (last example on the page above)
I have multiple divs in a div container. And what I want to do is animate 4 divs as follows:
1] Suppose that if I have two divs, div1 and div2. when div1 is animated and the animation is done , div2 animation should start: when div1 moves left = 200 left = 0, div2 animation should start when div1 is left = 100.
Edit
(Note: the number of divs is variable)
.......When the current animation runs and reaches a point, the next animation should begin (the animation effect is the same for all divs).
2] During iteration of the collection of divs and animations, delay the next animation for a certain time interval.
Is there any way to find out the start of the animation? or is animation running?
Thank you all
source
share