[Javascript] RollOver Image Script

Grinwald, Uri UGrinwald at dynamic.ca
Fri Feb 27 09:46:49 CST 2004


Thanks Chris.
I got it working now :)

-----Original Message-----
From: Chris Tifer [mailto:christ at saeweb.com] 
Sent: Friday, February 27, 2004 10:22 AM
To: [JavaScript List]
Subject: Re: [Javascript] RollOver Image Script


My guess is that it's telling you #FFFFFF has not been defined.
--------------------------
document.getElementById('changebgcolor').style.backgroundcolor=#FFFFFF;

would normally be written like:

document.getElementById('changebgcolor').style.backgroundcolor=
"#FFFFFF"
--------------------------

Does that give you a good enough hint?  By my best guess, that's your
problem.

Chris Tifer


----- Original Message ----- 
From: "Grinwald, Uri" <UGrinwald at dynamic.ca>
To: "[JavaScript List]" <javascript at LaTech.edu>
Sent: Friday, February 27, 2004 10:07 AM
Subject: RE: [Javascript] RollOver Image Script


Can anyone discern why this is not working?

<table>
<td id="changebgcolor" style="background-color:#FFFFFF;">Main Menu</td>
<td>Eggs</td> <td>Ham</td> </table> <p>&nbsp;</p> <p><a href="#"
onMouseOver="document.getElementById('changebgcolor').style.backgroundco
lor=#CCCCCC;"
onMouseout="document.getElementById('changebgcolor').style.backgroundcol
or=#FFFFFF;"><img src="images/rallincomedet.gif" width="200"
height="205" border="0"></a></p> </body>

Thanks,
Uri
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list