[Javascript] Color Coded Conundrum

Dan Costea costea at ssi-schaefer-noell.com
Tue Feb 12 09:51:45 CST 2002


> At 03:11 PM 2/12/02 +0100, you wrote:
> > > Hi;
> > > I have the following line of code:
> > >
> > > <font style="font: 13px antique olive, arial; color: white"
> > > onMouseOver="javascript:this.style.color='black'"
> > > onMouseOut="javascript:this.style.color='white'">Home</font>
> > >
> > > I can't get the color to change with mouse actions. What gives?
> > > TIA,
> > > BenO
> > >
> >
> >The code you sent works just fine (IE5.5): on mouse over changes the text
> >color to black and on mouse out the text color is made white. What is the
> >question? (Am I misunderstand something?)
>
> Well, it doesn't work fine for me. I take it back, I have IE5.0, but check
> out this page:
> http://performancemarketers.com/1024/eng/index
> and mouse over *Home*.
> TIA,
> BenO
>

It works like this:
onMouseOver TD the bgcolor of the TD is white; onMouseOut TD the bgcolor of
the TD is black
when I do onMouseOver "Home", the "Home" text color is black and the bgcolor
of the TD is white; onMouseOut, ...

so, it is work fine with my browser (IE.50.4807.2300).




More information about the Javascript mailing list