This is not a bug. A layer that has a child cannot have html content
itself. Basically when you set the html of the parent, you are
overwriting the child layer as well.
Such as:
<div id="myparent">
<div id="mychild">some text</div>
</div>
A call to myparent.setHTML() will kill the child.
--
Robert Rainwater
On 7/18/2001, 6:49:32 AM EST, Yurij wrote about "[Dynapi-Dev] Bug in specificRemove":
> You can see this if you write
> myLayer=new DynLayer(null,100,100,100,100,"#ff0000");
> myChild=new DynLayer(null,50,50,50,100,"#00ff00");
> myLayer.addChild(myChild);
> DynAPI.document.addChild(myLayer);
> setTimeout("myLayer.addChild(myChild)",2000);
> after second addChild child layer disappears!
> Attached .html demonstrates this bug (and how to solve it) more clearly.
> Tested in Windows 2000 (SP2).
> IE 5.5 - Bugs in attached code as far as in code listed above.
> Mozilla 9.2 - Bugs in attached code as far as in code listed above.
> Netscape 4.7 - Some bugs in attached code. No one in code listed above.
> Yurij Silvestrov
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev