Jump to content
Search Community

ScrollTrigger with timeline

Ofek nakar test
Moderator Tag

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...