I
irma
I have 2 frames, one frame is a table of content with a bunch of
links, and the other frame houses the contents. I want to be able to
change the
color of the link text when the user clicks on it.
I tried this:
var name = document.links[0].text;
name.fontcolor("yellow");
but didn't work, probably because "name" is a copy, not a reference to
the link object property right ? Can anyone help ? Thanks a bunch in
advance!!
Regards,
Margaret
links, and the other frame houses the contents. I want to be able to
change the
color of the link text when the user clicks on it.
I tried this:
var name = document.links[0].text;
name.fontcolor("yellow");
but didn't work, probably because "name" is a copy, not a reference to
the link object property right ? Can anyone help ? Thanks a bunch in
advance!!
Regards,
Margaret