jquery-bootpag icon indicating copy to clipboard operation
jquery-bootpag copied to clipboard

Current page in the middle

Open ardoramor opened this issue 9 years ago • 6 comments

The current page should remain in the middle, when possible (e.g., total pages is 10, visible pages is 5, current page is 6, pagination would show 4 5 6 7 8). This would work only when there are odd number of visible pages. When there aren't enough pages for the centering to occur (e.g., beginning/end of sequence or total pages is less than or equal to visible pages), the behavior should be as it is now.

ardoramor avatar Mar 25 '15 16:03 ardoramor

I'm also interested on this

ael-code avatar Mar 11 '16 00:03 ael-code

I am too.

DarkFIxED avatar Aug 04 '16 09:08 DarkFIxED

me too

felipemuniz09 avatar Jul 26 '17 19:07 felipemuniz09

I loved this plugin but this was also an issue for me. I dont want to dive into the code but I found another plugin that works the same but has a better user experience.

check this one: http://esimakin.github.io/twbs-pagination/

richardeth avatar Dec 20 '17 22:12 richardeth

http://esimakin.github.io/twbs-pagination/ is good, but I don't want first and last button

howard-repos avatar Dec 21 '17 09:12 howard-repos

then dont use them? you can see in an example that there is one without a first or last.

I myself added a CSS class saying display: none; to the first button.

richardeth avatar Dec 21 '17 12:12 richardeth