uavide Posted November 10, 2022 Share Posted November 10, 2022 Good morning, i have this codepen: that it works with this 2 cdn files: https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/gsap.min.js https://unpkg.com/gsap@3/dist/ScrollTrigger.min.js If i add this scrolltrigger cdn file: https://cdnjs.cloudflare.com/ajax/libs/ScrollTrigger/1.0.5/ScrollTrigger.min.js instead of this cdn: https://unpkg.com/gsap@3/dist/ScrollTrigger.min.js file, the codepen it doesn't work..why? can you help me? Thanks Davide See the Pen VwXgWOm by uavide (@uavide) on CodePen Link to comment Share on other sites More sharing options...
mvaneijgen Posted November 10, 2022 Share Posted November 10, 2022 Because that is a package call ScrollTrigger by a user called terwanerik https://github.com/terwanerik/ScrollTrigger here is the project, this has nothing to do with GSAP ScrollTrigger (that is also why it is named different in the codepen dropdown) 1 Link to comment Share on other sites More sharing options...
uavide Posted November 10, 2022 Author Share Posted November 10, 2022 oh sorry i didn't know...he should have called it differently this package, anyway do you know some codepen that works with gsap that it's like this? So that it make the same thing...thanks Davide Link to comment Share on other sites More sharing options...
mvaneijgen Posted November 10, 2022 Share Posted November 10, 2022 Maybe he had the name first, not really easy to check. There are probably hundreds of packages called the same. I don't really get your question 7 minutes ago, uavide said: anyway do you know some codepen that works with gsap that it's like this? So that it make the same thing...thanks Your pen seems to work fine, what is the issue? 1 Link to comment Share on other sites More sharing options...
uavide Posted November 21, 2022 Author Share Posted November 21, 2022 it works now, the problem it was to make it work in wp + bricks builder..i got it thanks! 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