Menu

#159 loadpanel inside scrollpane error

open
nobody
5
2001-08-17
2001-08-17
No

use loadpanel inside the scrollpane work fine in IE ,
but not in NS4 & 6.

code like this

////////////////////////////////////////////////////
DynAPI.onLoad = function() {
lp = new LoadPanel();
lp.setHTML("wait a moment ...");
lp.setURL('new.html');
lp.setSize(400,400); // height will be overwritten by
default
lp.moveTo(520,250);

counter = 0;
var el = new EventListener();
el.onload = function(e) {
status = 'got load event '+ counter++;
}
lp.addEventListener(el);

scrollobj = new ScrollPane(lp) // set as the content
scrollobj.setSize(400,400)
scrollobj.moveTo(520,250)
scrollobj.setBgColor('#000000')

DynAPI.document.addChild(scrollobj)
}

it show correct in IE , But in NS4 can show the
loadpanel but the scrollpane fuction fail and In NS6
can't show anything ....

Can anyone solve this problem ??

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.