tags:

views:

42

answers:

3

Is there a pager (jQuery plugin) with the following feaures:

< 1 2 3 4 >

  • when you click on an arrow the numbers slide to right or left
  • when you click on a number you change page
  • you have up to 4 numbers (the other pages should be hidden)

thanks

A: 

Have a look at this jquery pagination plugin:

Sarfraz
mhm.. thanks. Do you know how I could apply it to an existent list of items ? Let's say I already have the html code with a working static pager <ul> <li> <li> ... </ul>. I just want to add the sliding effect.
Patrick
+1  A: 

You can use the jQuery Pagination Plugin for this, and can see a demo here.

Change the options in the demo to get the results you describe:

  • Number of pagination links shown: 4
  • Number of start and end points: 0
Nick Craver
mhm.. thanks. Do you know how I could apply it to an existent list of items ? Let's say I already have the html code with a working static pager <ul> <li> <li> ... </ul>. I just want to add the sliding effect.
Patrick
A: 

You should take a look at this: http://www.ndoherty.biz/demos/coda-slider/2.0/#4

With css you should be able to change the design to your needs

jigfox
This is not what I need, I guess. I want the pager number to slide and not the content.
Patrick