Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Link Colors

Status
Not open for further replies.

iaresean

Programmer
Mar 24, 2003
570
ZA
Hi all simple question, not sure if this can be done purely in html, I think some sort of ss scripting is needed.

My problem: I have a page with two frames. The top one contains five or so links which when pressed display the result in the main frame below it. I want the links to remain black and not underlined at all times (which I can do), except I want the link that was just pressed to be highlighted (changed color to red and made bold). So if I press one of the other links, that one must become red and bold and the rest must be black and not underlined.

Any ideas on how I do this? Would I have to name the links and then reference them by their names?

Thanks for any help in this matter. :)

Sean.
 
Javascript is probably a better answer here. Otherwise why use frames at all? You'll have to reload them both to get any new server side generated content.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top