Home
 >> Tutorials >> Advanced javascript tutorials


Change table color on mouseover

HomeDevelopersPackagesContact Us

Put the following code in the <td> tag.

<td align=”center”bgcolor=”#000000″ onmouseover=”this.bgColor=’#993300′” onMouseOut=”this.bgColor=’#000000′”>

<table border=”1″ width=”440″ bordercolor=”#c1d3fb” cellpadding=”3″ cellspacing=”1″> 
<tr>

<td align=”center” bgcolor=”#000000″ onmouseover=”this.bgColor=’#993300′” onMouseOut=”this.bgColor=’#000000′”><a href=”http://www.itechies.net”><font size=”2″ color=”#ffffff” face=”verdana”><b>Home</font></a></td> 
<td align=”center” bgcolor=”#00000″ onMouseOver=”this.bgColor=’#993300′” onMouseOut=”this.bgColor=’#000000′”><a href=”../../developers.htm”><font size=”2″ color=”#ffffff” face=”verdana”><b>Developers</font></a></td>
<td align=”center” bgcolor=”#000000″ onmouseover=”this.bgColor=’#993300′” onMouseOut=”this.bgColor=’#000000′”><a href=”../../packages.htm”><font size=”2″ color=”#ffffff” face=”verdana”><b>Packages</font></a></td> 
<td align=”center” bgcolor=”#00000″ onMouseOver=”this.bgColor=’#993300′” onMouseOut=”this.bgColor=’#000000′”><a href=”mailto:info@itechies.net”><font size=”2″ color=”#ffffff” face=”verdana”><b>Contact Us </font></a></td>

</tr>
</table>

Page contents: itechies.net – Change table color on mouseover