[Javascript] RollOver Image Script

Grinwald, Uri UGrinwald at dynamic.ca
Fri Feb 27 11:21:15 CST 2004


Peter you were right on both instances.
I got it working now.
Thanks for all your help 

-----Original Message-----
From: Peter Brunone [mailto:peter at brunone.com] 
Sent: Friday, February 27, 2004 11:54 AM
To: javascript at LaTech.edu
Subject: RE: [Javascript] RollOver Image Script


Hi Uri,

   One thing I noticed is that your colors need to be represented as
strings, i.e. '#CCCCCC' (you don't have quotes around them).  Aside from
that, I'm not sure if backgroundcolor is a valid property, and if it is,
there's probably a capital "C" in the middle.  Check the docs to be
sure.

Cheers,

Peter

Original Message:
>From: "Grinwald, Uri" <UGrinwald at dynamic.ca>

>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.backgroundc
o
>lor=#CCCCCC;"
>onMouseout="document.getElementById('changebgcolor').style.backgroundco
l
>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



More information about the Javascript mailing list