[thelist] Javascript inside of Javascript... :)

Bruce Heerssen bruce at heerssen.com
Mon Sep 17 08:19:41 CDT 2001


Christian Anderson wrote:

>Yeah, moreover.com :)
>
>That mousover thing has to go in the <td> tag.  I guess I should have
>mentioned that... so when I try it as <TD bgcolor=EEEEFF
>onMouseover="onColor(this);" onMouseout="offColor(this);"> it doesnt work.
>
>Why why why?? :)
>
>www.photokyo.com
>
This came up the other day. I think the problem is going to be the 
bgcolor attribute in the <td> tag. Ditch the bgcolor attribute and use 
CSS instead, then you should be able to change it with javascript.

hth

-Bruce





More information about the thelist mailing list