alvarotrigo / alvarotrigo/fullPage.js

scrollHorizontally extension --> change keyboard control behavior

Open
#3,030 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
35.4k
Forks
7.1k
PR merge metrics
No merged PRs in 30d

Description

Hello,
scrollHorizontally extension works fine with mouse scroll wheel because it only have one direction.
When I reached a section with slides, it moves you across the slides till the end before continue to the next section

I want to repeat the same behavior with the keyboard,
change sections and slides only with the down/up arrow key
and suppress the left/right keys

I already try $.fn.fullpage.setKeyboardScrolling to stop going down
now I need the down key sent me to the left :P

is there a way to do that?

ex: http://azulprado.com/muestras/fidalisis5/#inicio

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.