How to disable scrolling when inside a horizontal slide (Fullpage.Js)

0

I found this code on the net, but it is already locking at the beginning ... I would like to activate the script when it is inside the slide ...

$ .fn.fullpage ({     afterSlideLoad: function (anchorLink, index, slideAnchor, slideIndex) {         if (slideIndex === 0) {             $ .fn.fullpage.setAllowScrolling (true);         } else {             $ .fn.fullpage.setAllowScrolling (false);         }     } });

    
asked by anonymous 06.06.2018 / 18:45

0 answers