jQuery pagePiling.js plug-in is a rich feature available for programmers for piling more than one layout sections, one over the other and accessing each page by URL or mouse scrolling or side bullets navigation. This feature provides all type of smooth vertical, horizontal and side navigations to the destination anchor links. It also manages callback functions, video backgrounds and scrolling speeds. We will only cover few of them in the following examples.
Links for jQuery pagePiling.js Plugin:
<link href=”jquery.pagepiling.css” rel=”stylesheet” type=”text/css”/>
<link href=”examples.css” rel=”stylesheet” type=”text/css”/>
Example 1: The following example demonstrates the basic working of the pagePiling plugin as written in the jQuery code. It supports interactive scrolling of different web layout pages with background images. The pages can also be navigated through side bullets in the right-hand side.
Example 2: In the following example, the top and bottom looping features are enabled. For this, the loopTop and loopBottom properties are set to “true” as shown in the jQuery code.
Example 3: In the following example, the horizontal scrolling is enabled for pages by setting option direction: ‘horizontal’ as shown in the jQuery code.