Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

easy bacground color change

Status
Not open for further replies.

warby1212

Programmer
Jun 9, 2003
183
AU
You guys are probably sick of hearing this question but I can't lay my hands on an example. What's the quickest, easiest way to change the background color of say, a table cell on mousover or hover. (eg for a menu)
Thanks for any help
[2thumbsup]
steve
 
woops found it , courtesy of javascript FAQ's (thanks writer)



<table>
<tr>
<td onMouseOver="this.bgColor='red'" onMouseOut="this.bgColor=''">This cell gets a red background</td>
</tr>
</table>


warby1212 or "Steve". Way away in Australia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top