display only 2 pages for pagination widget
Hi ,
I have 16 pages and it displays 1 to 5 and then the 16th page no. on my screen.But I want to display only two nos and the next and previous button .I can do that for two pages,how do I do it when I have 16 pages?
for eg: I want " previous 5, 6,next "
instead of "previous 1,2,3,4,5 ...16,next .
please check images for better understanding.
This is what i want when i have 16 pages
but this is how it displays



