Shutt90 Posted October 27, 2021 Share Posted October 27, 2021 Anyone know what could be happening here? I can't see anything wrong with the formating or the CDN imports so not sure what else it could be Link to comment Share on other sites More sharing options...
elegantseagulls Posted October 27, 2021 Share Posted October 27, 2021 Tough to say from just screenshots, but your syntax seems to be good.... is there a specific reason for posting two screenshots? Are you able to reproduce in a CodePen? Are you loading the ScrollTrigger CDN? Are you registering the ScrollTrigger plugin? (gsap.registerPlugin(ScrollTrigger)) Does GSAP work at all? If not, are you loading GSAP before your custom js? 1 Link to comment Share on other sites More sharing options...
Shutt90 Posted October 27, 2021 Author Share Posted October 27, 2021 I deleted it and changed the order of the object variables and and somehow its working now. It's bizarre that it wasn't working in the first place though, a colleague had it working on his and it was the exact same 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