Jump to content
GreenSock

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

Scrolling an inside container first then scroll the outside window. How to do that?

Recommended Posts

Hi I am just thinking out loud if it's possible to scroll an inner container first, then scroll the outside container? If yes, how do we go about with that? Seems like the inner container will always be relative to the outside container's scroll...Any idea? :)

Link to comment
Share on other sites

Are you asking to have GSAP animate the scroll of one element and then another? If so, you can do a scrollTo tween on one and then the other in a timeline (two tweens). 

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