I tend to stay away from JavaScript b/c I'm no good at it. But I have a navigation bar that's actually a table, and I want the background color of the table cell to change color when the user hovers over the link (like a button changing color, except it's a table). I'm sure there's a simple solution to this, but I can't get the script to work. Can anyone give me a script that will work? Here's the code I have currently:
The website is http://www.becomingthecrownjewel.com if anyone wants to see the whole thing.Code:<TABLE align="center" cellspacing="0" cellpadding="0" width="100%"> <TR bgcolor="#8B008B"> <TD align="center" width="10%"> <a href="/index.html" class="nav" onMouseOver="TD.bgColor='#BA55D3'">Home</a> </TD>


Reply With Quote

Bookmarks