Jump to content
Search Community

Scroll popup

Clou test
Moderator Tag

Recommended Posts

You can just use the paused() method of the ScrollSmoother: 

See the Pen dywwjLE?editors=0010 by GreenSock (@GreenSock) on CodePen

 

Glancing at your JavaScript, it sure seems like you could greatly simplify a lot of that. Oh, and typically it's best to use xPercent: 30 rather than x: "30%", for example. GSAP has built-in conveniences for percentage-based values which can be COMBINED with normal transforms for powerful effects. 

 

I hope that helps. And thanks for being a Club GreenSock member. 

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