Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll speed #1

Open
cangoktas opened this issue Nov 8, 2017 · 3 comments
Open

Scroll speed #1

cangoktas opened this issue Nov 8, 2017 · 3 comments

Comments

@cangoktas
Copy link

Hey, how can we change the speed of the scroll event? It just "jumps" as default, I'm trying to change it to, like, 400ms. Any chance to do it by an option or even changing the source code?

@marc31
Copy link
Collaborator

marc31 commented Nov 8, 2017 via email

@dimitriaguera
Copy link
Owner

Hello,

We just add possibility to smooth scroll and change speed.
Now, default scroll speed is set to 200ms. Set it to 0 if you want to make it 'jump', as before.

You can change speed in settings like this :
$(".targets").ScrollSubMenu({ scrollSpeed: 400, scrollEasing: 'linear', });

Regards,

@cangoktas
Copy link
Author

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants