josecebe / twbs-pagination

jQuery pagination plugin (bootstrap powered)
http://josecebe.github.io/twbs-pagination/
Other
1.1k stars 401 forks source link

don't show "first" unless the "first" page link isn't showing #51

Closed yairEO closed 9 years ago

yairEO commented 9 years ago

To make UX better, for example:

first 1 2 3 last // the "first" button is totally redundant

Should be

1 2 3 last

And then if you come to a point where 1 isn't visible anymore, render:

first 3 4 5 last


I personally like:

1 ... 3 4 5 ... 22

So the user knows how many pages are there.

yairEO commented 9 years ago

I now see there are "disabled" classes