Press "Enter" to skip to content

Easily and Smoothly Fullpage Scroller | pageScroller.js

pageScroller.js is a jQuery plugin that converts your page with sections (100% vh) into a vertically full-screen page slider. Users can scroll up and down sections of your page in sequence using mouse scrolling or touch scrolling for events.

full page scroll, full page scroll website, one page scroll example, one page scroll javascript, fullpage js free, full page scroll css

How to make use of it:

1. Add web page sections to your HTML web page.

<div id="container">
  <section class="page1">
    Section 1
  </section>
  <section class="page2">
    Section 2
  </section>
  <section class="page3">
    Section 3
  </section>
  <section class="page4">
    Section 4
  </section>
  <section class="page5">
    Section 5
  </section>
</div>

2. Make these web page sections fullscreen.

section { 
  height: 100vh; 
}

3. Load the required jquery library and jQuery touch-swipe plugin within the web page.

<script src="/path/to/cdn/jquery.min.js"></script>
<script src="/path/to/cdn/jquery.touchSwipe.min.js"></script>

4. Call the function pageScroller on the top container and executed.

$(function(){
  $('#container').pageScroller();
});

5. Config the one web page scroll effect.

$('#container').pageScroller({

  // animation speed in ms
  travelTime:1000,

  // delay in seconds
  afterTravelTimeout:1,

  // additional easing function
  travelEasing:'swing'
  
});

6. Define an array of anchor links that can be utilized to scroll by these web page sections manually.

$('#container').pageScroller({

  anchors:['.anchor1','#anchor2','.anchor3']

});

7. Set the index of your beginning web page part.

$('#container').pageScroller({

  startingPage: 1

});

8. Callback features.

$('#container').pageScroller({

  onTrigger: function(none, targets) {
    // do something
  },
  
  onEnd : function(none, targets) {
    // do something
  }

});

Touch-enabled Fullpage Scroller, pageScroller Plugin/Github


See Demo And Download

Official Website(Zenoo): Click Here

This superior jQuery/javascript plugin is developed by Zenoo. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.