Jump to content
Search Community

Jump to section with layering and Nav - ScrollTrigger

ngrmm test
Moderator Tag

Go to solution Solved by ngrmm,

Recommended Posts

i forked the Jump to section with layering example and added a nav with anchor-links to each section.
When i click on a link in my nav the animations stop each other. How can i pause or stop the jump-to-section-animation and if a nav-link is clicked.

This Problem appears when the target-section is more than one section away from the current section

 

See the Pen ExgymdG by ngrmm (@ngrmm) on CodePen

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