MattiasJ
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by MattiasJ
-
-
Thank you!
Now things works as it should.
Another question.
Can I call a function with the timeline?
Like
at 1.5 s call the function sendStat
-
I'm setting up a timeline where divs should move around as the timeline plays.The problem have is that timeline actions fires immediately when I define the timeline.See this pen
The z-index should change after some time but it doesn't it changes immediately .If the code look like this it doesn't work:tl.add("lab2", 1);tl.add( TweenMax.to('#d1', 0, {zIndex: 2}), "lab2");It's not a tween I now, but I want to be able to init divs at certain points in the time line before tweening like setting z-index, top, left etc. But this doesn't work.Any solution to this?
Timeline actions fire immediately
in GSAP
Posted
Thanx again