view code

Markup:

<div class="container1">
  <div class="item">...</div>
  <div class="item">...</div>
</div>

<div id="pagination">
  <a href="page1.html">1</a>
  <a href="page2.html" class="next">2</a>
</div>

Javascript:

var ias = $.ias({
  container1:  ".container1",
  item:       ".item",
  pagination: "#pagination",
  next:       ".next a"
});

ias.extension(new IASSpinnerExtension());            // shows a spinner (a.k.a. loader)
ias.extension(new IASTriggerExtension({offset: 3})); // shows a trigger after page 3
ias.extension(new IASNoneLeftExtension({
  text: 'There are no more pages left to load.'      // override text when no pages left
}));

Let's start exploring more.... Choose from wide range of categories around you or go shopping, find discounts coupons, travel deals and don't miss out on the best book collections above.. Come back soon.