alvarotrigo / alvarotrigo/fullPage.js

scrollHorizontally extension --> change keyboard control behavior

未關閉
#3,030 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
JavaScript
星號
35.4k
分支
7.1k
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。