jquery-bootpag
jquery-bootpag copied to clipboard
Current page in the middle
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.
I'm also interested on this
I am too.
me too
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/
http://esimakin.github.io/twbs-pagination/ is good, but I don't want first and last button
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.