hi all
First of all, sorry for my (bad) english,
I have a javascript:
<script type="text/javascript">
<!--
function gointo(td,color ){td.style.curs or='default';td .bgColor=color; }
function gooutoff(td,col or){td.style.cu rsor='default'; td.bgColor=colo r;}
//-->
</script>
and I reference this code in this way:
<td width="7" bgcolor="#AA000 0"></td>
<td width="145"BGCO LOR="#AA0000" onMouseOver="go into(this,'8000 00');"
onMouseOut="goo utoff(this,'aa0 000');" class="myclass" >
<a class="myclass" href="page.php" >page</a></td>
<td width="5" bgcolor="#AA000 0"></td>
to change background's color of second td when the mouse is over this td.
That's ok. But, how i can reference other td (no "this"). I need to change
also the first td and the last td.. Can i do this?
thanks for advance.
First of all, sorry for my (bad) english,
I have a javascript:
<script type="text/javascript">
<!--
function gointo(td,color ){td.style.curs or='default';td .bgColor=color; }
function gooutoff(td,col or){td.style.cu rsor='default'; td.bgColor=colo r;}
//-->
</script>
and I reference this code in this way:
<td width="7" bgcolor="#AA000 0"></td>
<td width="145"BGCO LOR="#AA0000" onMouseOver="go into(this,'8000 00');"
onMouseOut="goo utoff(this,'aa0 000');" class="myclass" >
<a class="myclass" href="page.php" >page</a></td>
<td width="5" bgcolor="#AA000 0"></td>
to change background's color of second td when the mouse is over this td.
That's ok. But, how i can reference other td (no "this"). I need to change
also the first td and the last td.. Can i do this?
thanks for advance.
Comment