Jump to content
Search Community

Recreating this codepen using just scrollTrigger?

JustinNobles test
Moderator Tag

Recommended Posts

I was wondering if it is possible to recreate this project using just scrollTrigger without using the inertia plugin. I basically want to accomplish the same type scrolling functionality when scrolling down on mouse wheel or on mobile like this codepen example I found here in the greensocket docs. I am still very new to gsap and javascript, so I just want a simpler project than the one in the codepen so I can understand everything, but any help would be appreciated!

See the Pen XWKJMdg by JustinNobles (@JustinNobles) on CodePen

Link to comment
Share on other sites

I would suggest start building it and ask specific questions when you get stuck. (with a demo)

 

It's much better to help you on the points that are to your skill level otherwise the answer on your question is "yes" it is possible to build with out the inertia plugin. 

 

I've tried removing the inertia plugin .js file from the project and everything still works (except the inertia of course).

  • Like 2
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...