Maybe some "small" things on getPage, which not only I might find nice to have:
- Some "range impression" for the user in the form of having a "..." next to "last" which should not say "last" but "1" and "n":
[1] ... [ x pages] ... [n]
- The "pev" and "next" could be the corner elements:
[<] ... [>]
- The "number of pages shown" should be constant and take "..." into account.
- The active page should still be the center element, if possible (having enough elements on the left and right) or move to the outer element
Or short: Something like this with _X_ being the active element:
[ < ] [_1_] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [...] [ 34] [ > ]
[ < ] [ 1 ] [...] [ 5 ] [ 6 ] [_7_] [ 8 ] [ 9 ] [...] [ 34] [ > ]
[ < ] [...] [ 27] [ 28] [ 29] [_30] [ 31] [ 32] [ 33] [ 34] [ > ]
Just thinking.
Maybe some "small" things on getPage, which not only I might find nice to have:
[1] ... [ x pages] ... [n][<] ... [>]Or short: Something like this with
_X_being the active element:[ < ] [_1_] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [...] [ 34] [ > ][ < ] [ 1 ] [...] [ 5 ] [ 6 ] [_7_] [ 8 ] [ 9 ] [...] [ 34] [ > ][ < ] [...] [ 27] [ 28] [ 29] [_30] [ 31] [ 32] [ 33] [ 34] [ > ]Just thinking.