jquery-ias
Version:
A jQuery plugin that turns your server-side pagination into an infinite scrolling one using AJAX
35 lines (19 loc) • 1.18 kB
Markdown
Installation
============
### Manual
1) Download [jquery-ias.min.js](https://infiniteajaxscroll.com/download.html).
2) Copy `jquery-ias.min.js` into your web directory
4) Add jQuery. To do so, paste the following code before the line with "`</head>`":
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
5) Paste the following code before the line with "`</head>`":
<script src="path-to-web/jquery-ias.min.js" type="text/javascript"></script>
6) Continue to [Getting Started](getting-started.html).
### Using Bower
It is possible to install Infinite AJAX Scroll using Bower. Only caveat is that the javascript files won't be minified.
1) Type the following on the command line:
`bower install infinite-ajax-scroll --save`
2) Paste the following code before the line with "`</head>`":
<script src="bower_components/jquery/jquery.min.js" type="text/javascript"></script>
<script src="bower_components/jquery-ias/src/callbacks.js" type="text/javascript"></script>
<script src="bower_components/jquery-ias/src/jquery-ias.js" type="text/javascript"></script>
3) Continue to [Getting Started](getting-started.html).