MaryJoS
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by MaryJoS
-
-
How should one restart but not play when the initial objects are all set to visibility is hidden?
When my timeline plays the first round, the initial visibility (set in css class) for my divs start hidden.
A few seconds in they fade in with autoAlpha and then few seconds later fade out with autoAlpha. At the end of the timeline, the timeline is reset. When I click a button to play again, the divs are visible intitially...
How should the divs be set in the first place?
Initial Visiblity after restarting timeline
in GSAP
Posted
I've tried fromTo and set to start the autoAlpha to 0. It works on the first time the timeline runs, but the play after a restart().pause() sets the divs' visibility to visible.
See code below to initialize the timeline.