Change text color of "visited link" back to unvisited color ???

Discussion in 'HTML' started by Matt Adams, Aug 26, 2003.

  1. Matt Adams

    Matt Adams Guest

    As well known I could specify the text color in the body tag like:


    What I want to achieve now is that always (!) the text of the last visited link and
    the text of the link under the cursor are red. All other links should be white.

    The problem with the construction above is that a visited link remains for the rest of
    the session red regardless wether it was visited 17 clicks back in the history or even just before.

    I wanted ONLY the LAST visited link in red and - additionally -
    the current link under the cursor (while the user chooses another link).

    Probably I need a Javascript function.

    Could someone help me ?

    Matt Adams, Aug 26, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.