I have a product list page that shows x pages of 6 products per page. So if there is 60 products the paging will look like:
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
This works fine. However I don't want the links to get that 'wide'. I want to only show up to 5 pages at once, i.e, if I was in the middle of the list, it would look like:
4 | 5 | 6 | 7 | 8
An example of this is the Tiffany's website: http://tinyurl.com/679jc8
Any ideas how to go about this in classic ASP?
Thanks a lot