Adjust Smooth Scroll Speed
Set the scrolling Anchor speed using Smooth Scroll JS Library.
Last updated
Set the scrolling Anchor speed using Smooth Scroll JS Library.
Last updated
We are Realmac Software. We make nice things.
If you want to control the scroll timing (and other options such as easing) when scrolling to an anchor then you can use the Smooth Scroll js library.
To add Smooth Scroll to yoru project, put the following in your project’s Template, just before the closing </head>
tag.
Note the speed option in the docs say this:
[speed] is a number representing the amount of time in milliseconds that it should take to scroll 1000px. Scroll distances shorter than that will take less time, and scroll distances longer than that will take more time. The default is 300ms.