Jump to content
Search Community

ScrollTo plugin with URL change/back & forward button functionality

VIPStephan test
Moderator Tag

Go to solution Solved by ZachSaucier,

Recommended Posts

As far as I’ve seen the ScrollTo functionality will scroll nicely but doesn’t provide a way to go back and/or forward using the respective browser buttons (and doesn’t change the URL in the address bar to reflect the anchor to which it scrolled). Am I missing anything or is this really not possible?

Link to comment
Share on other sites

  • Solution

Hey Stephan. The ScrollToPlugin focuses on the scrolling aspect of the webpage. If you need additional functionality like changing the URL or animating when the back button is clicked you'll have to add that functionality yourself but it is most definitely possible to add. For the URL changing I'd probably use the onStart of the tween to change the URL. 

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