Click to See Complete Forum and Search --> : change font color of link


ai3rules
10-23-2003, 09:17 PM
I have 2 frames. One frame contains a set of links; Home, Contact Me, etc... When any of those links are clicked, it opens a page targeted to the second frame.

My problem is, is that I have a couple pages that are identical. So, I want the font color of the link that I click to change colors, and if I click another link - that should change colors and the other links should go back to normal...just so that it is easy to tell which page is being showed.

I know that is quite confusing lol, but if you can help I would really appreciate it.

Thanks.

Charles
10-23-2003, 09:34 PM
It's been quite a while since I've played around with frames but I think that you want to be using the active pseudo class. See http://www.w3.org/TR/REC-CSS2/selector.html#dynamic-pseudo-classes.

ai3rules
10-23-2003, 09:50 PM
Hey, Charles, it worked.

Thanks alot.

ai3rules
10-23-2003, 10:00 PM
Hey, just realized a small problem. The link changes colors just like I want it to, but it loses the color when I click in a text box for example, or anywhere on the page. Is it possible to have the link retain the color until another link only is clicked?