Page Numbering problem
Posted: Wed Aug 19, 2009 10:54 pm
Hi, i m now working on a page numbering function. i have go through quite a lot of the examples from google but none of them do what i need. Below is my case:
I have, for example an array holding 132 values, and i wan to show only 5 items in a page, so there is a total of 27 pages.The page number then will show something like below,
Page 1 2 3 4 5 > >> , when we click on ">" it will show
Page < 6 7 8 9 10 > >>, click on ">" again, it will show
Page << < 11 12 13 14 15 > >>, and so on. click on "<<" or ">>" will bring to the first and last page.
Any idea on how to make this thing happened? Thanks...
I have, for example an array holding 132 values, and i wan to show only 5 items in a page, so there is a total of 27 pages.The page number then will show something like below,
Page 1 2 3 4 5 > >> , when we click on ">" it will show
Page < 6 7 8 9 10 > >>, click on ">" again, it will show
Page << < 11 12 13 14 15 > >>, and so on. click on "<<" or ">>" will bring to the first and last page.
Any idea on how to make this thing happened? Thanks...