You probably don't need a handler at all for this, I'm fairly certain that the 
JavaScript engine will not continue anything else until the doc.write() is complete 
(for netscape), and once the innerHTML happens almost immediately in IE.

Are you having problems with not being able to reference an element inside the layer 
after a setHTML() ?  If the problem is only occuring in Netscape, you could manually 
assign a layer.onload handler, it is also fired when you do a document.write().

PS: you have no idea - I'm sometimes haunted in my dreams by bits of JavaScript code 
that are causing me problems during the day :)

Dan


On Tue, Dec 12, 2000 at 06:44:01PM -0500, Joshua Hancik wrote:
> I posted this earlier today, but it appears that the list has eaten it -
> forgive my double posting should it turn up....
> 
> I'm loading content into an offscreen layer with the setHTML
> command...After the content has been loaded, I will slide the layer into
> view, but now here's my question:
> 
> Is there a way to determine if ALL of the content has finshed loading
> BEFORE moving the now populated layer?  Perhaps some sort of onLoad
> handler for the setHTML command?
> 
> Cheers.
> 
> ps.  Steinman is on another plane from us mortals - I could already hear
> the gears turning on how to write a logical TimeLine operator...Sick.
> 
> Joshua Hancik
> VP Interactive Media
> The Factory Interactive, Inc.
> 305.752.9400

Content-Description: Card for Joshua Hancik

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help

Reply via email to