[thelist] Why is NS6 DHTML so SLOOOOOOOOOWWWWWWW?!

Edwin Martin e.j.martin at chello.nl
Wed May 9 04:32:38 CDT 2001


The Disintegrator wrote:

>There is any limitacion in the attributes I can change with this?
>the quetion is because i cannot change the background color nor
>background-image... why?
>
>getStyle('mylayer').background-color: "red"
>do nothing...

Now you're mixing JavaScript and CSS too much.
In JavaScript, this should work:

  getStyle('mylayer').backgroundColor = "red"

This won't work in Netscape 4 because it can't change
background colors this way.

Bye,
Edwin Martin.

--
Surf Edwin Martin's brainwaves: http://www.bitstorm.org/edwin/ 





More information about the thelist mailing list