Bhasu
Bhasu

Reputation: 3

jquery pagination

I have the following code

<div>
   <div>
      <div>Pagination one</div>
       <a>Edit</a>
   </div>
   <div>
       <div>Pagination two</div>
       <a>Edit</a>
   </div>
   <div>
       <div>Pagination three</div>
       <a>Edit</a>
   </div>
</div>

Like this I have 50 div's i.e., 50 records.Is there is any plugin to have the pagination for the above div structure displaying 5 divs in each page.

Upvotes: 0

Views: 2006

Answers (4)

Oscar Jara
Oscar Jara

Reputation: 14187

Well, I am not sure if this can help you because this works with a html table but I made this example for some project before:

Take a look:

http://jsfiddle.net/oscarj24/Mm9xH/

Upvotes: 0

David Richard
David Richard

Reputation: 356

This one is pretty simple, but requires that you change those divs to li elements. http://th3silverlining.com/2010/04/15/pajination-a-jquery-pagination-plugin/

and this one is really fancy but requires a little more putting together. http://tutorialzine.com/2010/05/sweet-pages-a-jquery-pagination-solution/

Upvotes: 0

Saeed Neamati
Saeed Neamati

Reputation: 35852

Check out this plugin:

jQuery Pagination

Upvotes: 0

thecodeparadox
thecodeparadox

Reputation: 87083

you may use a carousel plugin

Upvotes: 1

Related Questions