Profile
Achievement
Agent's Recent SnippetsTagged rails
- All /
« Prev 1 Next »
This function (intended to be an application or view helper) creates a pager bar useful for navigating many pages. It shows the first, last, current, nearby, and halfway-to-end pages. It looks like this (where the current page is 11):
< 1 ... 5 .....
1
628
posted 17 years ago by Agent