in a nutshell, when i call setURL (loadpanel.js or loadlayer.js(Richard_Examples) it doesnt load the whole file.
it seems to randomly stop loading at dfferent points, and winds up just displaying part of the file in the layer. not sure what is causeing it or how i could be messing anything up. The only thing i can think is that setURL just isnt happy outside of an onLoad event, or that setURL doesnt handle larger files or html with several images in it too well, since it works great in the examples with very small files. The problem occurs in IE6, and NS6.2 (probably others as well). Incidentally, i have no problems when running the script on a LAN web server.... it only occurs when traversing the internet (much slower). if anyone can shed some light... id appreciate it. code follows ... DynAPI.setLibraryPath('src/lib/'); DynAPI.include('dynapi.api.*'); DynAPI.include('dynapi.event.*') DynAPI.include('dynapi.gui.loadpanel.js'); DynAPI.onLoad=function() { myLayer = new LoadPanel() myLayer.setBgImage('images/background.gif') myLayer.setSize(600,320) myLayer.moveTo(150,0) DynAPI.document.addChild(myLayer) } ... and then setURL is called from a link... like so... <a href="javascript:myLayer.setURL('sch_2003.htm')">load the file into the layer</a> the file 'sch_2003.htm' is available here if your interested in trying it youself... http://209.98.224.230/dynapi/sch_2003.htm ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help