From: Raymond I. <xw...@ya...> - 2003-06-18 13:41:40
|
--- Jesse Vitrone <je...@6t...> wrote: > I'm confused with the insertAllChildren method > that's been added to > DynAPI. > > I can keep all my code the same > (dynapi.document.addChild and stuff like > that), and just add a call to > dynapi.document.insertAllChildren() in the > body? > > I was noticing the page loading, then the layers > coming up a 1/2 second > later (when there were a lot of layers), so I tried > added the > insertAllChildren, but I don't notice a difference. > The page still > loads and displays before the layers do. Does that > mean I'm using it wrong? No. The insertAllChildren() will insert the layer inside the body of the document before the page loads. If you're working with lots of layers you might noticed that that some browsers will take a longer time to render the layers that would others. Netscape 6 is on such browser. If you're working with lots of layers it might be best to use BluePrints instead. See the following examples: speedtest.dynlayer.inline-basic.html speedtest.dynlayer.inline-basic-dom.html -- Raymond Irving > Thanks, > Jesse > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An > INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% > Monthly Commission! > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |