I have the following method that creates and returns markup for my pagination links in PHP.
public function getPaginationLinks($options) {
if($options[\'
You could do (on page 15)
[View Previous] 12 13 14 [15] 15 17 18 [View More]
Where the [View More] link fetches the rest (or just a few more) page links. This keeps things uncluttered while allowing the user to navigate all the pages.
Example (after clicking View Previous)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 15 17 18 [View More]
or (just show a few more) [View More] 7 8 9 10 11 12 13 14 [15] 15 17 18 [View More]
When I say "fetch" I mean use javascript to create links to the other pages w/o reloading the page