...

View Full Version : how to make this effect



xiaodao
07-07-2005, 11:32 AM
<table>
<tr>
<!--cell1-->
<td bgcolor="blue" height="5"></td>
<!--end cell1-->
</tR>
<tr>
<td>
<a href="love.html"><img src="love.gif"></a></td>
</tr>
</table>


how to do this effect when i mouse over the love.gif, the color of cell1 change from blue to orange?

coothead
07-07-2005, 12:10 PM
Hi there xiaodao,

like this?...

<table>
<tr>
<td id="cell1" style="background-color:blue;height:5px;"></td>
</tr><tr>
<td><a href="love.html"><img src="love.gif" onmouseover="document.getElementById('cell1').style.backgroundColor='orange'"></a></td>
</tr>
</table>

coothead



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum