Hi Cristian!

Have you tried the examples?
If they work try and copy the code from there.

/Daniel

> I have tried a simple test of loadpanel:
> 
> <html>
> <head>
> <title>testing loadpanel</title>
> <script language="JavaScript" src="dynapi3x/src/dynapi.js"></script>
> <script language="JavaScript">
>       dynapi.library.setPath('/dynapi3x/src/');
>       dynapi.library.include('dynapi.library');
>       dynapi.library.include('dynapi.api');
>       dynapi.library.include('dynapi.debug');
>       dynapi.library.include('dynapi.gui.loadpanel');
>       
>       lp = new LoadPanel('tobeloaded.htm');
>       lp.setLocation(100, 100);
>       lp.setSize(300, 300);
>       lp.setBgColor('#667788');
>       dynapi.document.addChild(lp);
> </script>
> </head>
> 
> <body style="overflow:hidden">
> <a href="javascript:lp.setURL('tobeloaded.htm')">load</a>
> </body>
> </html>
> 
> I get an LoadPanel not defined error and DynAPI debugger shows this message:
> 
> Library Error: no library map for loadpanel
> ------------------------------
> Click "?" for help
> ------------------------------
> 
> loaded [dynapi.library]
> loaded [dynapi.debug]
> loaded [dynapi.functions.Image]
> loaded [dynapi.api.DynEvent]
> loaded [dynapi.api.EventObject]
> loaded [dynapi.api.DynElement]
> loaded [dynapi.api.DynDocument]
> loaded [dynapi.api.DynLayerBase]
> loaded [dynapi.api.DynLayer]
> loaded [dynapi.api.MouseEvent]
> 
> What seems to be the problem?
> 
> Thank you,
> 
> Grig
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-help




-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to