PJMonty
06-27-2008, 09:57 PM
Hi,
I am trying to use the CSS Pagination Links on my site. This is the script:
http://www.dynamicdrive.com/style/csslibrary/item/css_pagination_links/
Getting it to work is no problem. The problem is that I have a number of projects on my site that are broken up into multiple static pages. I want to have the pagination div at the top of each project (no problem with this either) and make it so that when I click, I go to another page in the project but have the clicked page number in the pagination list stay highlighted.
I have tried using javascript to set the class of a specific list element to "currentpage", but have not been able to make that work. Even if I did, it's a bit of a hack since I would be putting a bit of custom code on each page that would have to be modified by hand. I am looking for some solution that just keeps the clicked box highlighted when the next page loads.
Thanks,
PeterM
I am trying to use the CSS Pagination Links on my site. This is the script:
http://www.dynamicdrive.com/style/csslibrary/item/css_pagination_links/
Getting it to work is no problem. The problem is that I have a number of projects on my site that are broken up into multiple static pages. I want to have the pagination div at the top of each project (no problem with this either) and make it so that when I click, I go to another page in the project but have the clicked page number in the pagination list stay highlighted.
I have tried using javascript to set the class of a specific list element to "currentpage", but have not been able to make that work. Even if I did, it's a bit of a hack since I would be putting a bit of custom code on each page that would have to be modified by hand. I am looking for some solution that just keeps the clicked box highlighted when the next page loads.
Thanks,
PeterM