PDA

View Full Version : change the link color once click!


charon
09-27-2002, 03:11 AM
well, please don't misunderstanding of the subject. What I want is not a normal event handler like onclick or onmouseover, what I want is once I have access to another category the Link of the category is highlighted. for instance:

I have 5 categories:

1.) Corporate Info
2.) Investor Relation
3.) Foundation
4.) Business Activities
5.) FAQ

Once I'm in Corporate Info, it is higlighted, and so on...

I have no idea how to do it.!!

Please help!

ACJavascript
09-27-2002, 03:26 AM
There are two things that I think you could be talking about -- won't know till I tell ya so here it goes hehe :D
_________________________

in the body tag put the active or visited

These correspond to the links

Active=when a link is clicked what color is it
visited=when a link has been clicked and someone returns to that page what color is it(usally used to let people know where they have been)

<body active="blue">

or

<body visited="blue">

or both

<body visited="blue" active="red">

Hope this helps ya :D:D