Hmmm... good question. I haven't looked at the DynAPI code in enough detail to
know exactly what removing the layer (which is what I did) does as opposed to
deleting it. I was under the impression it just takes the layer reference (?)
out of the parent. Yes, definitely need to look into that.
--Jeff
Doug Melvin wrote:
> how about ram usage.. do you (or should you) Delete the object before adding
> it back?
>
> This is where we need a proper DynLayer.destroy()...
>
> Doug Melvin
> ----- Original Message -----
> From: "Jeff" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 24, 2001 11:31 AM
> Subject: [Dynapi-Help] setHTML, Inline Styles and Nested Layers in NS
>
> > Saw a post a few days ago (from Darryl Cousins, I think) about Netscape's
> ignoring of inline style elements
> > when you use setHTML in a nested layer. I needed to do the same thing in a
> widget I'm working on, so I did
> > the following:
> >
> > I wrote a little function to remove the layer from it's parent, used
> setHTML to write the code with the new
> > style in it to the layer, then added the layer back to the parent.
> >
> > Kind of obvious and ugly, but it works!!
> >
> > - Jeff Greenberg
> >
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help