nl en en en en en en en en en en en en en en en fa en en fr hbs_lat en en en es en en en de en en fr en en ca en en en en en en sv sv en en sv en en en en en en en fr en en en en en en en zh en nb en zh en en it nl fr en en en en en zh en nb en zh en en it nl fr en sv en en en es en es en de en en en en en en en en en es en en en en en en en fr cv es tr es en en en en ms en en en en en en fr en hbs_lat en en en en en en en fr cv es tr es en en en en de en en en ca en en en en en
Thank you @Carl for your help, on the question. Do you think that if, instead of using a TimeLineMax Function, I could instead use simpler TweenMax functions with delays that function similarly to a timeline? Would this fix the issue of it stacking to an even longer timeline with each hover? Again, Thanks for the help! *Edit 1*Decided to test it out rather than ask, and actually, this does work well in comparison to the TimeLineMax *Edit 1* *Edit 2*For anyone who cares, found a way that is tens of lines shorter and works on a click-based CSS class togglesystem*Edit 2*
Completing a Timeline before starting another
ZigZag228 posted a topic in GSAP
Hello, I am having a problem in creating a hover dropdown using GSAP animations to stagger in links after the container fades and drops in. After the user hovers off, it does another timeline in reverse. However, if a user were to go back and forth too quickly there are partial or full loops of the animations over and over depending on the swipes across the trigger. I am wondering if there is a way GSAP knows and animations are playing and will not allow another set to run if another is playing. Something along the lines of if tl starts and the user hovers off then it finish before starting timeLine's animation...? Thanks in Advance!
“GreenSock has encouraged me to play with the code, to dream up new and exciting things to do.”
“GSAP makes my job fun, because it allows me to focus on creating rich, engaging web experiences, while GSAP handles much of the implementation details behind the scenes.”
“I’ve long felt like GSAP is the best kept secret in JavaScript.”
“This stuff is so incredibly amazing I can't believe it. The level of details and options put into these things and the natural instinct GreenSock has for solving everyday problems is impressive.”
“I am more and more amazed every day, and very glad that I decided to get a business license.”
“No other animation library is as intuitive, rigorous, conceptually simple and well curated as GreenSock’s”
“Honestly think without TweenMax, I'd of changed careers by now; it's that good.”
“The GreenSock animation platform is one of the most useful sets of tools in existence when it comes to web animation.”
“It's shocking the @w3c didn't use @greensock as a model of how to do animation via code. Did they even ask animators what they use?”
Sign Up For Our Newsletter
Get the latest updates on GreenSock products, exclusive offers, and more right in your inbox.
Your information will always be kept confidential.
Thanks for signing up!
Now you'll begin receiving the latest GreenSock updates, exclusive offers, and more right in your inbox. Welcome aboard.