Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Current page in the middle #23

Open
ardoramor opened this issue Mar 25, 2015 · 6 comments
Open

Current page in the middle #23

ardoramor opened this issue Mar 25, 2015 · 6 comments

Comments

@ardoramor
Copy link

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.

@ael-code
Copy link

I'm also interested on this

@DarkFIxED
Copy link

I am too.

@felipemuniz09
Copy link

me too

@richardeth
Copy link

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/

@howard-repos
Copy link

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

@richardeth
Copy link

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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants