Hello,
first of all thanks for your amazing technology !
I'm trying to insert a timeline in another in the aim of tweening multiples <div> in the way of the .staggerTo method. I would like that all these elements have a random / single parameter.
The result i'm looking for could be this : http://codepen.io/anon/pen/OPbeQd i'm obtaining this by "cheating" with a 1 second delay for the triggering of the "tl2" timeline...
I found the for loop method associated with .each but didn't understand how to have multiples tweens in the timeline ( in the exemple that I gave, the inner <div> of the square are appearing randomly but, what if I want to have another tween in this timeline after this effect ? Do I have to wait for the end of the first loop to set a new timeline with a new loop that i'll trigger then ?
Is there a simple way like the "staggerTo" to have this result : http://codepen.io/anon/pen/ogYKjPwith the random effect obtained by the for .each ?
Thanks a lot for your time and answer !
PS : sorry about my poor english and the possible "newbieness" of my question, i'm stuck here for a while and i'm just loosing my mind