Limited offer!

Get a huge collection of PHP scripts in a special bundle!

Mega Sale Price


You can embed the infinite scrolling plugin in multiple containers, in an i-frame, configure offset, loading icon, CSS. You can use it to load images or text content on your web page.

Download the Infinite Scroll for FREE and follow the instruction in the 'How to install' section to configure the script.

Requires jQuery 1.7 or higher.
Browser compatibility: Chrome 33+, IE9+, Firefox 3.6.8+, Opera 12+, Safari 5+


To download jQuery Infinite Scroll for FREE you need to login your account.

how to install

Follow these steps to integrate the jQuery Infinite Scroll into your web page:

1) Make sure both .js and .css files are copied in the folder where your web page is or just change the path to these files when placing the code in your web page:
<link href="pjInfiniteScroll.css" rel="stylesheet">
<script src="jquery-1.7.min.js"></script>
<script src="jquery.pjInfiniteScroll.js"></script>

2) Initialize the plugin
$(function () {

<div class="container">
<!-- your data here -->

offset - type: Number; default value: 20; description: Offset to bottom of the selected element, when scrollbar reach this limit, the load is triggered.

autoLoad - type: Boolean; default value: false; description: If true load content automatic, if false shows up a button.

autoLoadUntil - type: Boolean | Number; default value: false; description: How many pages will be loaded automatic. Set this option to > 0 to activate. Works when autoLoad is set to true.


complete - type: Function; default value: null; description: Callback function fired when loading ends.

url - type: String; default value: "ajax.php"; description: URL address using for loading content.

loadMoreText - type: String; default value: "load more"; description: Text for button triggered the loading.

loadMoreClass - type: String; default value: "pjInfiniteScroll_LoadMore"; description: CSS class selector used also for styling.

loadMoreWrapperClass - type: String; default value: "pjInfiniteScroll_LoadMoreWrapper"; description: CSS class selector used also for styling.

indicatorWrapperClass - type: String; default value: "pjInfiniteScroll_IndicatorWrapper"; description: CSS class selector used also for styling.

Special Offer!

Get all 65 PHP scripts in a bundle for $4.29 each only!

Mega Sale Bundle Price
20 Comments to "jQuery Infinite Scroll"
  • Kishor Mali

    Kishor Mali

    July 5, 2018 at 13:15 pm

    My requirement is like:
    I already have server-side pagination using php yii2 framework. I need infinite scroll after the current server-side loaded page.
    Ex. Suppose my current page is "index.php?r=site/index&page=3", then the plugin must call to page number 4. But according to your script, the current page always be 0 and it calls to 1.

    Can you provide the "page" option along with others? Currently, I changed the code and it is working. If the same will provide in this plugin then it will be added advantage.

  • Hammad


    June 19, 2018 at 10:32 am

    I'm having difficulties integrating this. Is there any tutorial for help?

  • nik


    July 15, 2017 at 17:23 pm to change url while loading data??

  • kc gerona

    kc gerona

    May 7, 2015 at 02:47 am

    ty i will try it to my scripts..

  • alexandre silva

    alexandre silva

    May 4, 2015 at 16:20 pm


  • nelu


    February 28, 2015 at 11:24 am

    thank you very much,you make very good job,keep go on......

  • david


    February 26, 2015 at 06:22 am

    thanks you

  • sachin


    December 9, 2014 at 17:50 pm


  • anu


    December 6, 2014 at 09:12 am


  • darshit


    October 10, 2014 at 20:16 pm

    great website man


Add your comment