Hi,
i dont think this is a new issue, but i have some problems testing the
DynApi v2.54.
The thing is to use a panel wich is able to load external HTML, the code
is as follows (same as the example):
-----8<--------8<-----
<script language="JavaScript"
src="../../../dynapi/src/dynapi.js"></script>
<script language="Javascript">
DynAPI.setLibraryPath('../../../dynapi/src/lib/');
DynAPI.include('dynapi.api.*');
DynAPI.include('dynapi.event.*')
DynAPI.include('dynapi.util.thread.js');
DynAPI.include('dynapi.util.pathanim.js');
DynAPI.include('dynapi.gui.button.js');
DynAPI.include('dynapi.gui.scrollbar.js');
DynAPI.include('dynapi.gui.viewport.js');
DynAPI.include('dynapi.gui.scrollpane.js');
DynAPI.include('dynapi.gui.dynimage.js');
DynAPI.include('dynapi.gui.label.js');
DynAPI.include('dynapi.gui.loadpanel.js');
</script>
<script language="Javascript">
DynAPI.onLoad=function() {
lp = new LoadPanel();
lp.setHTML("<p class=\"negro10\"> Cargando Valores...</p>"); //
loading data (spanish)
lp.setSize(208,105); // height will be overwritten by default
lp.setBgColor('#FFE6CC');
counter = 0;
var el = new EventListener();
el.onload = function(e) {
status = 'got load event '+ counter++;
}
lp.addEventListener(el);
scrollobj = new ScrollPane(lp) // loadpanel will be set as the content
scrollobj.setSize(225,105)
scrollobj.moveTo(405,480)
scrollobj.setHorzVisible(false);
DynAPI.document.addChild(scrollobj);
setTimeout('lp.setURL("http://newHost.mydomain.com/myCGI?params")',
1000);
// so a HTML table is loaded into the ScrollPanel
}
</script>
-----8<--------8<-----
Well, it works fine on ns, but ie does not show anything new after the
timeout.
I've tried to put the 'setURL' before (without the timeout) but it
doesnt works, neither.
I'm really confused about that, because the example runs quite easy
everytime... :-(
Thank you for your help!
__jOrge
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help