This is a problem with the environment in which the code is executed.

In IE, it is executed in the frame.  In NS, it is executed as part of the 
window.

What you need to do is set up a link that points to the loadpanels document 
and then execute it from there.  Or you could try passing all the code back 
to the main window and executing it with the onload event of the loadpanel.

On Friday 08 June 2001 08:32, you wrote:
> Hi
>
> I've tried to load an html file that contains only a dyna widget, a
> button image for example, using the loadpanel example, but I have
> trouble doing so. On IE it loads fine and the widget renders, but the
> events seems to be screwed up. With Netscape I got it to load, but the
> widgets are added as child of the window document, and not as child of
> the loadpanel or the ilayer.
> Does anyone have experience with that configuration and would help ?
> It's with the latest version of the code.
>
> Thanks in avance, and congratulations to the designers of dynapi2 !
>
> Benoit Marchant
>
> _______________________________________________
> 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

Reply via email to