Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
joshahayes

Is the scroll-behaviour on this site's frontpage doable within GSAP?

Recommended Posts

https://www.gsj.be/en#advocaten

 

Can the scrolling behaviour here be replicated with GSAP's ScrollTrigger? I notice there's no scrollbar so I wasn't too sure. There seems to be some momentum to the scrolling, like just scrolling a little bit triggers a transition to the next scene?

 

Would this be possible with GSAP? And if so, would there be a way to hide the scrollbar whilst still keeping the overflow-y not hidden? Cheers.

Link to comment
Share on other sites

Welcome to forums @joshahayes

 

It looks like that site is using GSAP, but not ScrollTrigger. It's most likely using wheel events to drive the animation, kind of like this, although this demo is more linear.

 

See the Pen PoWapLP by BrianCross (@BrianCross) on CodePen

 

  • Like 3
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.
×