Yes.. but it would have to be a single document.write after all code has
completed. As the page wouldn't be rendered untill the thread which executed
the write method has completed. So.. only on loading of a page would this
actually increase performance for IE. And even then, writing directly to the
innerHTML would be faster, speaking strictly IE.
In Netscape, the adding Layers is definitly preferred.
----- Original Message -----
From: "Scott Andrew LePera" <sc...@sc...>
To: <dyn...@li...>
Sent: Thursday, November 30, 2000 2:46 AM
Subject: Re: [Dynapi-Dev] Updated Release, fixes/changes
> <snip>
> It's entirely possible have the DynLayer generate LAYER and DIV tags (ala
> dynapi1) this would allow you to insert Dynlayers before onLoad, as well
you
> can get an enormous boost in drawing time in Netscape by writing all the
> children layers as layer/div's at the same time in one document.write().
> </snip>
>
> I imagine this could help IE, too. IE rendering is *extremely* slow when
> generating lots of DynLayers. I think Netscape handles it better, because
> the JS evaluation and rendering happen separately and simultaneously,
while
> IE has to wait for one process to complete before starting the other. A
> document.write might be quicker and cleaner in IE.
>
> scottandrew
>
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
|