Pages Counting thing ...
josephp
Joined: 2002-10-03
Posts: 172 |
![]() |
What if I have say 5,000 photos with 100 albums The gallery will have like: Pages: >1<2345678910111213 ... to 100 ... It WILL look ugly, agree? But how I can just make it to: << Browse >> The arrows will go to next or previous page, makes it better nicely? |
|
beckett
![]()
Joined: 2002-08-16
Posts: 3474 |
![]() |
But the navigator already cleanly limits the number of pages shown to 11: See an <!-- BBCode Start --><A HREF="http://photos.beckettmw.com/sierra2002?&page=11" TARGET="_blank">example</A><!-- BBCode End --> from my gallery. So if you had a 100 page album and were on page 50, it would show -Beckett (beck@beckettmw.com) |
|
josephp
Joined: 2002-10-03
Posts: 172 |
![]() |
Yes but what about if: http://www.domain.com/gallery/ If it has 100 albums, will that still show |< << .45.46.47.48.49 >50< 51.52.53.54.55. >> >| Correct? |
|
beckett
![]()
Joined: 2002-08-16
Posts: 3474 |
![]() |
Do your homework! It works for the album page too. |
|
josephp
Joined: 2002-10-03
Posts: 172 |
![]() |
heheheh I love this challenge! :grin: |
|