This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 263
Current page in the middle #23
Comments
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: