Recommend this page to a friend! |
Download .zip |
Info | View files (6) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2013-06-30 (3 years ago) | Not enough user ratings | Total: 350 | All time: 100 This week: 18 |
Version | License | JavaScript version | Categories | |||
infinite-scroll 1.0 | Free for non-comm... | 1.0 | AJAX, jQuery |
Description | Author | |||
This is a jQuery plugin that can load content via AJAX when the page scrolls. Innovation Award
|
Version : 1.0 Name : Jquery scroll paging Author : Satyam Kumawat <satyam2707@gmail.com> =================================================== This program is free package This program is distributed in the hope that it will be useful, This package is based on JQUERY AND AJAX ======================= GENERAL INTRUCTIONS ======================= PUT THE WHOLE FOLDER IN YOUR HTDOCS(xampp-php) and run in browser. EXAMPLE: ============== $(function() { var offset = 2; $(document).scrollPaging({ url : 'content.php', //required totalRecordCount : 20,//required offset :offset, //required data :'key=value',//you can pass extra params here beforeSend : function(){ var loader = $('<div id="scrollLoader">loading please wait ....</div>') $('#wrapper').append(loader); }, success : function(result) { //required $('#scrollLoader').remove(); $('#wrapper').append(result); } }); }); 1. OFFSET :- It is just like a limit(number of records you want to fetch on each scroll) 2. totalRecordCount :- Total number of records (disable the scrolling once reach this number) 3. data :- not required but you can send extra parameter in your request 4. beforeSend : Put your code which need to execute before each request. 5. success : Put your code which need to execute after each request. Important Note :- =================== All the paramerter used in this plugin is same as a NORMAL AJAX REQUEST SO YOU CAN PASS PARAMETER . |
Files |
File | Role | Description | ||
---|---|---|---|---|
css (1 file) | ||||
js (2 files) | ||||
content.php | Data | php content file | ||
index.php | Example | demo file | ||
Readme.txt | Doc. | Readme |
Files | / | js |
File | Role | Description |
---|---|---|
jquery-1.10.1.min.js | Conf. | library |
scrollpaging.js | Class | plugin file |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.