[thelist] changing the color of a div in NN

Peter-Paul Koch ppk at xs4all.nl
Thu Sep 14 02:28:46 CDT 2000

>i want to change the background color of a layer in NN (through a js 
>function, using a onMouseOver event handler), but it won't work unless i the 
>function writes something to the layer first. but when that happens, what i 
>originally had there disappears, and what i wrote to the layer doesn't even 
>show up. any ideas?

It's very hard. Write a new DIV with the correct color into the old one and
see if that helps. See


under DHTML => Writing into layers

for some background info.


More information about the thelist mailing list