Jump to content
Search Community

Can Scroll Trigger pin the entire page?

DeltaFrog test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hi all,

 

Is there a way to pin the entire page/body while the Scroll Trigger scrubs through the jet timeline and then have the page/body unpin after the timeline completes?  So the background would stop scrolling as well as the blue circle until the timeline ends.  Then the jet, circle and background pattern would all continue to scroll up together.   Possible?  

 

See the Pen b7d9a13d7cfe86812338c378ba5fcd68 by deltafrogcraft (@deltafrogcraft) on CodePen

Link to comment
Share on other sites

16 minutes ago, PointC said:

You can use your grid background image on the giant content div rather than the body background so the background stops scrolling when you pin the big wrapper. Just my two cents. :)

 

Ok! I'm going to give it a try.  Big thanks to both of yall!  

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...