I have the following html code with vbscript and wish to change the background color and the text color of a cell in a table when the mouse moves over it, I can get the background color to change but not the text?
<html>
<script language="VBScript" for="Td_Opt_1" event="OnMouseOver">
Td_Opt_1.bgcolor="blue"
document.all.opt_1_txt.style.color="white"
</script>
<body bgcolor="8040c0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
<center>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="5">
<tr><td id="Td_Opt_1" height="35" bgcolor="c0ff60" Align="Center"><p id="opt_1_txt"><b><font color="8040c0">Option 1</font></b></td></tr>
<tr><td height="35" bgcolor="c0ff60"><font color="8040c0"><center><b>Option 2</b></center></font></td></tr>
<tr><td height="35" bgcolor="c0ff60"><font color="8040c0"><center><b>Option 3</b></center></font></td></tr>
<tr><td height="35" bgcolor="c0ff60"><font color="8040c0"><center><b>Option 4</b></center></font></td></tr>
<tr><td height="35" bgcolor="c0ff60"><font color="8040c0"><center><b>Option 5</b></center></font></td></tr>
<tr><td height="35" bgcolor="c0ff60"><font color="8040c0"><center><b>Option 6</b></center></font></td></tr>
</center>
</body>
<Html>
Please help?
<html>
<script language="VBScript" for="Td_Opt_1" event="OnMouseOver">
Td_Opt_1.bgcolor="blue"
document.all.opt_1_txt.style.color="white"
</script>
<body bgcolor="8040c0" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
<center>
<br>
<table width="100%" border="0" cellspacing="1" cellpadding="5">
<tr><td id="Td_Opt_1" height="35" bgcolor="c0ff60" Align="Center"><p id="opt_1_txt"><b><font color="8040c0">Option 1</font></b></td></tr>
<tr><td height="35" bgcolor="c0ff60"><font color="8040c0"><center><b>Option 2</b></center></font></td></tr>
<tr><td height="35" bgcolor="c0ff60"><font color="8040c0"><center><b>Option 3</b></center></font></td></tr>
<tr><td height="35" bgcolor="c0ff60"><font color="8040c0"><center><b>Option 4</b></center></font></td></tr>
<tr><td height="35" bgcolor="c0ff60"><font color="8040c0"><center><b>Option 5</b></center></font></td></tr>
<tr><td height="35" bgcolor="c0ff60"><font color="8040c0"><center><b>Option 6</b></center></font></td></tr>
</center>
</body>
<Html>
Please help?