micUX Posted September 22, 2020 Share Posted September 22, 2020 Hi guys, I hope you don't mind me using CodeSandbox? It's just easier to host images. Please see link below:https://codesandbox.io/s/freebie-added-brakes-d72k2?file=/index.html I've been away from Greensock for a good while. Used it quite a lot a couple of years ago for timelines, really found it useful for interactive animations for some e-learning content I was working on. I'm trying to design a basic transition for a fade in/out notification. Eventually plan on a few things happening, but for the time being I'm failing at the first hurdle. Why won't my timeline start? See the Pen index.html by s (@s) on CodePen Link to comment Share on other sites More sharing options...
akapowl Posted September 22, 2020 Share Posted September 22, 2020 Your timeline runs as expected on codepen.io. See the Pen 8aa37863aa9e5434e7730d8bc83c06dc by akapowl (@akapowl) on CodePen So it must be something related to how things are set up on your codesandbox-page. But I know nothing about that. 2 1 Link to comment Share on other sites More sharing options...
micUX Posted September 22, 2020 Author Share Posted September 22, 2020 Ah okay, thanks, at least its not my js Link to comment Share on other sites More sharing options...
Ihatetomatoes Posted September 22, 2020 Share Posted September 22, 2020 It looks like an issue with the demo setup. You have index.js in the src folder but the file is not referenced in the html. If you simply include CDN link to GSAP, your timeline works fine. https://codesandbox.io/s/freebie-added-brakes-forked-pl9n6 4 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