Jump to content
Search Community

Move menu after reaching section

noeyeat test
Moderator Tag

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

I'm working on something like a full screen sections with a big menu that scrolls to left/right depending on the section but I can't get it right. Basically, when the first section ends I want the menu to translate to left and when I scroll up I want it to translate back to right. How can I achieve this? It's something like this http://en.leningrad.io/

See the Pen jZwzex by anon (@anon) on CodePen

Link to comment
Share on other sites

Sorry, I'm not sure how to wire up ScrollMagic like that.

Here is there horizontal demo: http://scrollmagic.io/examples/basic/going_horizontal.html

 

Oddly, it didn't seem to work for me. Might be worth checking with their support team.

We really have to stay focused on the GSAP API. If you have any animation code you need help with, please let us know. Happy to help.

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