View Full Version : Easy Q - change other words colour!

Feb 9th, 2004, 12:41 AM

This is a easy question (I'm sure) but it's got me! I have this table with two columns - when you hover over a word ("Link 1") in the second column I want to change the colour of the word ("GO") in the first column....


<TD BGCOLOR="#FF0000">
<font id="arRow1" style="color:#FF0000;">GO</FONT>
<TD bgcolor="#FFFFFF">
<A HREF="#" onMouseOver="document.getElementById('arRow1').style.color='#FFFFFF';" onMouseOut="document.getElementById('arRow1').style.color='FF0000';">Link 1</A>


I'm sure it's easy - I tried referencing "document.getElementById('arRow1').style.fontColor" etc. Nothing worked for me!

Thanks in advance! Aiden

Feb 9th, 2004, 12:51 AM
I'm not sure what the problem is, but I copied that code and it worked fine for me.... The "go" turned white. Then back to red when it wasn't over the link.

Feb 9th, 2004, 01:16 AM
Looks fine - think it was something else conflicting in my page - good.... false alarm....