Infinitely Looping Web Content With jQuery Lemniscate js - Download Infinitely Looping Web Content With jQuery - Lemniscate.js

Download Infinitely Looping Web Content With jQuery – Lemniscate.js

Posted on

This time I will share jQuery Plugin and tutorial about Infinitely Looping Web Content With jQuery – Lemniscate.js, hope it will help you in programming stack.

Infinitely Looping Web Content With jQuery Lemniscate js - Download Infinitely Looping Web Content With jQuery - Lemniscate.js
File Size: 9.04 KB
Views Total: 2623
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Lemniscate.js is a jQuery infinite scroll plugin for creating infinite-looping web content that automatically scrolls to the top when you reach the bottom of the page.

How to use it:

1. Install the Lemniscate.js via NPM or Bower and then import it into your web project:

1 # NPM
2 npm install Infinite.js
3  
4 # Bower
5 bower install Infinite.js

2. Or directly include the JavaScript file infinite.js after jQuery library as this:

1 <script src="//code.jquery.com/jquery-3.1.1.min.js"></script>
2 <script src="dist/infinite.js"></script>

3. Add the CSS class ‘js-infinite-loop’ to the container element you want to loop through.

1 <div class="js-infinite-loop">
2   ..
3 </div>

4. Initialize the plugin and we’re done.

1 $('body').infinite();

5. Initialize the plugin and we’re done.

1 $('body').infinite();

This awesome jQuery plugin is developed by Slgoetz. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net