[thelist] Stupid/Simple Question re:Anchor Tags (uck!)

Seb Barre sebastien at oven.com
Wed Nov 1 09:47:27 CST 2000

At 10:25 AM 11/1/2000 -0500, you wrote:
>Hi all,
>I have a very simple question about Anchor Tags. Why is it that when there
>are multiple anchor tags on a page which lead to content on the same page do
>they all change to the visited state when you click on one of them? And...is
>there any way around that?

The browser checks the destination of the link to determine which colour to 
display it in, so if all the links point to the same page, they will 
inevitably all turn purple (or whatever colour you have set) when you 
follow one of them.

If the links are to a regular HTML document, one way around this is to add 
bogus arguments to your URLs (which will just be ignored by the target HTML 

So you would have



and so on..  The link will go to the same document, but that should be 
enough to fool the browser into thinking they are two different links, 
without affecting your site functionality.

--- -- -
Seb Barre - sebastien at oven.com
OVEN Digital Toronto
Work: 416-595-9750 x 222
Mobile: 416-254-5078

More information about the thelist mailing list