Helpful Information
 
 
Category: JavaScript Development
DHTML Background changes.....

I am trying to make a cross-browser script that when you mouse over a certin table cell the backgorund of the cell is changed to a different color....kinda like at http://yellowpages.msn.com (the blue menu at the top -- but its not cross browser) I know this is possible because i have seen it in some of the drop down menus....but when i try to disect the script i get errors (i do not know javascript)
Any help would be appreciated.....ryan

Hey!

Maybe you could use onMouseOver="style.backgroundColor='color'";
onMouseOut="style.backgroundColor='transparent'";

Try it. Works with me. You could have problems in Netscape (as always). However, I used to be Netscape fan... those days are gone. Oh, sorry. I'm off the topic... I almost started a debate ;o)

Take care,

Vinci

Netscape does not support onMouseover and onMouseout.....any one else???










privacy (GDPR)