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

Make anchors the only way to move between sections #571

Closed
kevwiches opened this issue Jul 15, 2014 · 1 comment
Closed

Make anchors the only way to move between sections #571

kevwiches opened this issue Jul 15, 2014 · 1 comment

Comments

@kevwiches
Copy link

Hello,

Is there a way for me to only allow users to navigate between sections by clicking anchors? I want to have full page sections, but I don't want users to scroll between them (there's no scrolling necessary within individual sections).

@alvarotrigo
Copy link
Owner

Use the method $.fn.fullpage.setAllowScrolling(false); and $.fn.fullpage.setKeyboardScrolling(false);.

setAllowScrolling(boolean)
Adds or remove the possiblity of scrolling through sections by using the mouse wheel/trackpad or touch gestures (which is active by default).

setKeyboardScrolling(boolean)
Adds or remove the possiblity of scrolling through sections by using the keyboard arrow keys (which is active by default).

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

2 participants