im PARK Posted August 24, 2022 Share Posted August 24, 2022 Hi there! I have a question to TimelineMax for loop. I made three images to fade-in. But The last image disappears and the loop begins again. I want to connect the fade-in fade-out naturally. Any help or guidance is welcome. Thanks 🙇🏻♂️ This is my demo code. https://jsfiddle.net/rwahefnz/ Link to comment Share on other sites More sharing options...
Solution mvaneijgen Posted August 24, 2022 Solution Share Posted August 24, 2022 Hi @im PARK welcome to the forum! I would strongly recommend updating to the new syntax of GSAP, much easier to read and write! JSFiddle gave me some problems, so I moved your code to Codepen.io. And here is an migration guide if you need to reference it. See the Pen PoRgajy by mvaneijgen (@mvaneijgen) on CodePen For seamless loops check out this awesome video from @Carl . This is a really smart way of handling it. See the Pen ExVEOPa by snorkltv (@snorkltv) on CodePen 1 2 Link to comment Share on other sites More sharing options...
im PARK Posted September 3, 2022 Author Share Posted September 3, 2022 thank you @mvaneijgen ! I was surprised by the quick answer. I checked the example you sent me and applied it to the project. Thanks for your answer 😃 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now