Kazan
05-06-2003, 03:32 PM
Okay, I know this involves CSS as well, but I am assuming that the majority of what I need is Javascript.
Okay, say I have a table that looks like this:
http://www.angelfire.com/comics/kazanart/images/TableCap.jpg
How would I get the Avatar part of the table change background color if I move my mouse over the main part of that particular post, along with that post?
Currently, I have a bit of code that does this for each part:
<table>
<tr>
<td class="Post1"
onMouseover="this.className='PostHover'"
onMouseout="this.className='Post1'">
</td>
<td class="AV"
onMouseover="this.className='AVHover'"
onMouseout="this.className='AV'">
</td>
</tr>
</table>
Thanks in advance, Kazan
Okay, say I have a table that looks like this:
http://www.angelfire.com/comics/kazanart/images/TableCap.jpg
How would I get the Avatar part of the table change background color if I move my mouse over the main part of that particular post, along with that post?
Currently, I have a bit of code that does this for each part:
<table>
<tr>
<td class="Post1"
onMouseover="this.className='PostHover'"
onMouseout="this.className='Post1'">
</td>
<td class="AV"
onMouseover="this.className='AVHover'"
onMouseout="this.className='AV'">
</td>
</tr>
</table>
Thanks in advance, Kazan