> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Robert
> Rainwater
> Sent: Wednesday, January 03, 2001 6:47 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Dynapi-Dev] loadpanel troubles...
> 
> 
> Why not just capture the onload event.  Thats why it is 
> invoked there.  Or
> am I missing something here?

No - I think that I was missing something :).  I added an onload event listener for 
the panel and that works like a charm...except in IE (5.00) the event gets called 
twice for some reason.  I haven't been able to track it down yet.  It doesn't seem to 
be a big deal other than viewing my widget resize twice before the content is 
displayed in the panel.  It's strange cause when I create a panel, I initally have to 
set the size to my layer's wxh.  Then, when the onload event occurs I see the panel 
getting resized (in IE) to my layer's wxh, then again to the content height.  I added 
a fix in my onload function for IE that says:

if (is.ie &&  e.getSource().isReloading == null) return;

but this seems like kinda of hack.

On a side note, the widget I'm creating is a wizard (which I need to use for a current 
project that I'm working on).  I'd eventually like to contribute this to the dyanpi 
project.  How can I go about this ??

thanks,


-Mark Haviland
)ڦ ޾f��)��+-)ڦ ޾X���(��~��zw���i��b��,���y�+��޷���Y���b�ا~���v��ׯ

Reply via email to