Jump to content
GreenSock

phobic

ScrollTo with Pinned Elements

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi there

 

I'm using the scrollorama plugin to achieve some fairly simple pinned animations, and the plugin works extremely well.

 

However, I'm trying to use the scrollTo plugin to provide a simple navigation for users to scroll with animation to the critical point in each animation, and this is the part I'm stuck on.

 

If anyone can provide any guidance on how to determine the way to scroll directly to a certain point in a pinned animation, I'd greatly appreciate it!

 

Thanks.

Link to comment
Share on other sites

Pinning elements takes them out of the normal page flow. The best way would probably be to assign the scroll position numerically.

  • Like 1
Link to comment
Share on other sites

okay, I'll see if I can figure out a method.. many thanks for the response, and thanks for the awesome plugins!

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