[Javascript] Color Coded Conundrum

Ben Ocean lists at thewebsons.com
Tue Feb 12 14:24:38 CST 2002


Crazy. Doesn't work worth a darn for me, but everyone else sees it just 
fine...?
Thanks,
BenO


At 04:51 PM 2/12/02 +0100, you wrote:
> > 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).
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript





More information about the Javascript mailing list