From: Alex C. <c....@mu...> - 2001-02-09 01:44:14
|
Hi, I have glanced through the Dynapi code and realized that deleted layers are seldom recycled. I guess this is because when creating a new Layer in Netscape 4x, an initial width has to be specified to ensure proper wrapping of text. Thus, a deleted layer can only be recycled if the new layer to be created intend to have the same initial width. Please correct me if I am wrong. Alex Chong Michael Pemberton wrote: > no. the layer is only hidden. It is also placed in an array that is used > when another DynLayer is created. This way, new layers are only created when > needed. > > francesco AGATI wrote: > > > Hi, > > > > when i call deleteElement in Netscape 4 the layer is really deleted or is > > only hide? > > > > I have see that the layer is only set to hide. > > > > Can the Dom of netscape 4 really cancel an elemement from the memory? > > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > -- > Michael Pemberton > mp...@ph... > ICQ: 12107010 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev |