467,146 Members | 1,010 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,146 developers. It's quick & easy.

Resetting visited link color and setting active link weight

beacon
512MB
I'm looking to reset the visited link color once another link is selected. Also, once that link takes me to a particular page, I want the font-weight for that page to be bold to indicate that it's the page you're looking at.

Now, if the links have never been visited before, they are blue. If you hover over the links they turn light blue. I want the user to be able to select the link and it take you to that page. On that page, I want the link that was selected to be disabled and bold so that it appears as the current page.

However, after you have visited each of the sites and hit the back button on the browser (IE7 in my case), all of the links are showing up as light blue instead of just the active one.

Am I going to have to set each of these links individually to be disabled and light blue when the user accesses the page? Also, how do I reset the color of the links each time the user gets back to the page?

If I don't use the a:visited tag in CSS, my visited links are the default purple color, which I obviously don't want.

Thanks for the help...
Feb 8 '08 #1
  • viewed: 3694
Share:
1 Reply
drhowarddrfine
Expert 4TB
None of that can be done using html/css. You would need javascript and, perhaps, some work done on the server side.
Feb 8 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

17 posts views Thread by Rickard Lindhé | last post: by
11 posts views Thread by M Kinstlinger | last post: by
4 posts views Thread by Matt Stanley | last post: by
3 posts views Thread by geraldjr30 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.