autoScrolling with keyboard - but only only for some sections - when using fullpage.js
<p>I am using the beta of fullpage.js (v 2.7.9) which can be found <a href="https://github.com/alvarotrigo/fullPage.js/blob/dev/jquery.fullPage.js" rel="nofollow">here</a>, and which features a new setting called <code>hybrid</code>. When this setting is set to <code>true</code>, by default, the user can gesture, via trackpad, to autoScroll/jump through a section. However, if the function detects that a section has the class <code>fp-normal-scrolling</code>, the function setting <code>hybrid: true</code> will turn off autoScrolling. Thus, when this class is present, and hybrid is 'true', scrolling behavior becomes slow and incremental, moving through a section, rather than jumping between sections. So with this new setting, you can either jump to the next section or scroll slowly through it, just by adding a class - pretty cool!</p>

<p>Here is a jsfiddle, written by the fullpage.js author which demonstrates this great hybrid behavior.  <a href="http://jsfiddle.net/97tbk/1191/" rel="nofollow">http://jsfiddle.net/97tbk/1191/</a> If you use your trackpad to scroll when viewing the first section, it jumps, but if you use trackpad scrolling on all subsequent sections, the scrolling is slow and incremental (because the "fp-normal-scrolling" class has been added to each of them). </p>

<p>Here is the same html from the jsfiddle:</p>

<pre><code>&lt;div id="fullpage"&gt;
    &lt;div class="section"&gt;One&lt;/div&gt;
    &lt;div class="section fp-normal-scroll"&gt;
 class="section"&gt;One&lt;/div&gt;
    &lt;div class="slide"&gt;Two 2&lt;/div&gt;
&lt;/div&gt;
 &lt;div class="section fp-normal-scroll"&gt;Three&lt;/div&gt;
 &lt;div class="section fp-normal-scroll"&gt;Four&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Here is the javascript with hybrid on:
(you have to add the fullpage js and css files for this to work)</p>

<pre><code>$('#fullpage').fullpage({
    sectionsColor: ['yellow', 'orange', '#C0C0C0', '#ADD8E6'],
    hybrid:true,
    fitToSection: false
});
</code></pre>

<p><strong>My problem: I would like to be able to have the down arrow on the keyboard have this same kind of awesome mixed/hybrid behavior, but I can't figure out how to do it. So to say it plainly,  on some sections I would like the down-arrow-key to cause section jumps, and on other sections I would like the down-arrow-key to allow the user to incrementally/slowly scroll through sections, without skipping.</strong> However, as far as I can tell this hybrid behavior is not yet available for the keyboard. I can identify two relevant settings. </p>

<p>The first is autoScrolling. I <em>could</em> turn off autoScrolling, and I would be able to have incremental scrolling on the final pages (which is desirable), but then if it is off, I lose the ability to use the keyboard to jump from the first section to the second.  Not good. :(</p>

<p>The other potentially useful setting that I can identify is setKeyboardScrolling.  This seems to enable the user to either use the keyboard to navigate or not. </p>

<p>Although I have had an exchange with the developer (you can read our conversation <a href="https://github.com/alvarotrigo/fullPage.js/issues/614" rel="nofollow">here</a>) I still cannot figure out a combination of settings that will allow me to:</p>

<ol>
<li>Always have the keyboard on</li>
<li>Have the keyboard produce section jumps on <em>some</em> sections </li>
<li>Have the keyboard produce slow/incremental scrolling on <em>other</em> sections.</li>
</ol>

<p>Fullpage.js may not offer this yet, but I am optimistic. Because this type of hybrid behavior already is included in the beta for gesture scrolling, someone with enough javascript/jquery knowledge might be able to come up with a fix that allows down-arrow-presses to have this same hybrid capability.  Perhaps code from the gesture control part of fullpage.js can be rewritten to apply to the the keyboard controls/down-arrow key?</p>

<p>I would attempt it myself, but I'm not skilled enough in javascript.  <strong>Can any of you come up with a fix? I don't care if the solution involves a set of fullpage.js settings or a tweak to fullpage.js. I'd be happy with any solution.</strong></p>

<p>Thanks!</p>

<p>UPDATE: I got a response from the developer about how to achieve this, but I don't understand.  Can someone perhaps show me what he means. This is what he wrote: </p>

<blockquote>
  <p>Just use a callback for it and set it off for any other section rather
  than the 1st one by using setKeyboardScrolling.</p>
</blockquote>