Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ Forum
➜ Announcements
➜ Forum enhancement - shorter lists of pages
Forum enhancement - shorter lists of pages
|
Postings by administrators only.
Refresh page
Posted by
| Nick Gammon
Australia (23,162 posts) Bio
Forum Administrator |
Date
| Tue 01 May 2007 04:17 AM (UTC) |
Message
| I have been noticing that the popular topics have been showing extensive lists of the pages that comprise that topic. eg.
Pages: 1 2 3 4 6 7 8 9 10 11 .... and so on
This looks a bit ugly, and probably no-one is really going to want to go to page 37 directly. The code for displaying pages has been amended to show a shorter list, like this:
Pages: 1 2 3 10 20 30 40 45 46 47 48 49 50 51 52 53 54 55 60 69 70 71
Now you will only see:
- The first 3 pages (eg. 1, 2, 3)
- The last 3 pages (eg. 69, 70, 71)
- Five pages on either side of the page currently being viewed (eg. 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55) where the current page is 50
- Every 10th page
This should reduce page clutter, and still make it reasonably easy to go to a particular page. For example, to go to page 25 (for some reason) click on 20, and then when the page refreshes, 25 will be available. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
5,809 views.
Postings by administrators only.
Refresh page
top