Is it possible in pagePiling.js to add a stop once the bottom of a section has been reached?

145 Views Asked by At

Is it possible in pagePiling.js to add a stop once the bottom of a section has been reached?

Thanks in advance.

Sachin

1

There are 1 best solutions below

0
On

Sure!

Just make use of the method setAllowScrolling(false):

$(document).ready(function() {
    $('#pagepiling').pagepiling();
    $.fn.pagepiling.setAllowScrolling(false);
});