Doing a resize on a Loadpanel causes it to reload the
document. Perhaps the code is buggy, you might have to
try debugging it ;-)

I don't know why the resize is breaking it, but I
think I know why setURL doesn't work. If you put an
alert in the setURL method of LoadPanel, you will
probably find it is still being called. The reason why
it's not working is probably because the LoadQueue is
busy. If you try and load a url that doesn't exist (or
the document is empty) then LoadPanel doesn't receive
an onload event, and doesn't run the handler that
unlocks the queue. It sounds like the resize is
causing it to try and load a bogus document, which
blocks the queue.

You said in another post that images weren't loading.
which browser are you using? and what version on the
api?

cheers,

cam.


--- Doug Melvin <[EMAIL PROTECTED]> wrote: >
My previeous message covers that.
> 
> the CoreSkinWindow has a members called 'canvas'
> this is where all of the skinwindow's children are
> added.
> The object WAS a Dynlayer but I changed it to a
> LoadPanel so that I could
> take advantage of setURL.
> Problem.
> 
> When I resize the SkinWindow, (such as when the
> toolbar is moved see: 
> http://www.creative-workshop.com/demo/cwconcept.htm)
> setURL no longer works.. the HTMl in the
> Skinwindow's "canvas" is lost
> and no number of setURL calls wil rescue it.
> 
> If you can help me find out why this is I would be
> much indepted.
> 
> Doug Melvin
> ----- Original Message ----- 
> From: "Robert Rainwater" <[EMAIL PROTECTED]>
> To: "DynAPI Help List"
> <[EMAIL PROTECTED]>
> Sent: Monday, January 15, 2001 9:22 AM
> Subject: Re: [Dynapi-Help] arg!
> 
> 
> > 
> > Why are you even using a loadpanel if you are only
> using setHTML.
> > setHTML if available to all dynlayers.
> > 
> > What is not working with setURL.  I've been using
> it for weeks without
> > a problem.
> > 
> > -- 
> > // Robert Rainwater
> > 
> > On 1/15/2001, 2:21:15 PM EST, Doug wrote about
> "[Dynapi-Help] arg!":
> > 
> > > I am using setHTML with a loadpanel (as setURL
> doesn't seem to work).
> > > Problem: Images don't always load in the
> loadpanel..
> > > help? 
> > 
> > 
> > 
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> >
>
http://lists.sourceforge.net/lists/listinfo/dynapi-help
> 
> 
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/dynapi-help
> 
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

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

Reply via email to