...

View Full Version : changing a cell's background color



snakedevil1
07-31-2002, 07:54 PM
need some help once again :)
i want to change the background of a cell when i mouse over it. i tried it, but it doesn't work. I've tried everything from get element by id to document.main.navigator.abme, but ie keeps returning an object not found error. any help would be appreciated, and my website is at http://snakedevil1.tripod.com/vip3r/main.htm

<td width="92" id="abme" onMouseOver="document.getElementById(abme).bgcolor='#006600';" onMouseOut="this.bgcolor='#993333';">

jkd
07-31-2002, 08:04 PM
onmouseover="this.style.backgroundColor = 'newcolor'" onmouseout="this.style.backgroundColor = 'oldcolor'"

snakedevil1
07-31-2002, 09:42 PM
thanx dude



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum