Ofek nakar Posted June 16, 2020 Share Posted June 16, 2020 hey , i want to start implement custom storyline with gsap scrolltrigger , but all the pens i've tried doesn't work as i edit outside from codepen ... can someone assist me with an starter example that works outside codepen to start with him ? Link to comment Share on other sites More sharing options...
ZachSaucier Posted June 16, 2020 Share Posted June 16, 2020 Hey Ofek and welcome to the GreenSock forums! All of the ScrollTrigger examples should work outside of CodePen provided you're loading GSAP and ScrollTrigger properly. I'm guessing (blindly given the lack of information) that you didn't include <script> tags with the references to GSAP and ScrollTrigger in your project because they're "hidden" in the JavaScript resources section (which you can see if you click the cog next to "JS"). Perhaps our installation page can help you get a project setup as there's a video that covers how to load GSAP and its plugins via script tags. For more help, please include the errors that the developer tools console gives you. Link to comment Share on other sites More sharing options...
Ofek nakar Posted June 16, 2020 Author Share Posted June 16, 2020 thank you for the comment and i did attach the cdns , i've been try this animation See the Pen KKVMmdz by jh3y (@jh3y) on CodePen 1 Link to comment Share on other sites More sharing options...
ZachSaucier Posted June 16, 2020 Share Posted June 16, 2020 Like I said, we can't help any further unless you give us details about what's going wrong. Please provide more information, especially the errors in the console, so that we can help you. @jh3y He's using one of your pens 1 Link to comment Share on other sites More sharing options...
Ofek nakar Posted June 17, 2020 Author Share Posted June 17, 2020 Yes his pen's are awesome to start with them, thanks and ive been trying to implement this pen - See the Pen PoZGGMx by jh3y (@jh3y) on CodePen Everything works beside in mobile its shows me staright the 3 images from the start .. when im scrolling everything works fine .. how can i hide this other 2 images ? Link to comment Share on other sites More sharing options...
ZachSaucier Posted June 17, 2020 Share Posted June 17, 2020 Please make a minimal demo of the issue using CodePen and describe the issue that you're facing clearly if you'd like help. Link to comment Share on other sites More sharing options...
Ofek nakar Posted June 17, 2020 Author Share Posted June 17, 2020 I figured it out and ive wrap the whole code , thanks for all the support 1 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