Hi There,
Basically, I have an outer layer, which upon creation, creates a child layer
that sits inside it.
Both layers are different colors, and both layers contain some HTML; for
example a bit of text saying "this is layer 1" and "this is layer 2
(child)".
There is no problem rewriting the HTML inside the child layer as many times
as I want.
However, if I try to rewrite (i.e. outerLayer.setHTML(newHTML); ) the HTML
in the outer layer it successfully rewrites, but the inner (child) layer
completely dissappears. I have tried playing with the Z indexes but was not
able to get anywhere.
I have no idea why this is doing this. I cannot beleive that the child layer
is completely obliterated just by an HTML rewrite of the outer layer. I must
be doing something wrong.... Please Help !!!
PS. This problem is happening in all browsers.
I have included a working example of exactly what I mean in a file called
rewrite.zip
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
rewrite.zip