title: Jscroll pagination plugin
body: <p>i have download this good plugin </p>
  
  <p><a href="http://andersonferminiano.com/jqueryscrollpagination/" rel="nofollow">http://andersonferminiano.com/jqueryscrollpagination/</a>
  and i use this code for do a call to my db and show all the result. The my problem is that i can't stop the showing results when are finish in the database, i wouold like stop the pagination and no repeat the same result. how can i do it? thank you so much</p>
  
  <pre><code> $(function(){
                      $('#content').scrollPagination({
                          'contentPage': 'democontent.html', // the page where you are searching for results
                          'contentData': {}, // you can pass the children().size() to know where is the pagination
                          'scrollTarget': $(window), // who gonna scroll? in this example, the full window
                          'heightOffset': 10, // how many pixels before reaching end of the page would loading start? positives numbers only please
                          'beforeLoad': function(){ // before load, some function, maybe display a preloader div
                              $('.loading').fadeIn();
                          },
                          'afterLoad': function(elementsLoaded){ // after loading, some function to animate results and hide a preloader div
                               $('.loading').fadeOut();
                               var i = 0;
                               $(elementsLoaded).fadeInWithDelay();
                               if ($('#content').children().size() &gt; 100){ // if more than 100 results loaded stop pagination (only for test)
                                  $('#content').stopScrollPagination();
                               }
                          }
                      });
  
                      // code for fade in element by element with delay
                      $.fn.fadeInWithDelay = function(){
                          var delay = 0;
                          return this.each(function(){
                              $(this).delay(delay).animate({opacity:1}, 200);
                              delay += 100;
                          });
                      };
  
                  });
  </code></pre>