hi all,
I integrate the following scrollpane(see codes below)
into my site, which works fine in all browser WITHOUT
frames.
HOWEVER, when I try putting it into frames, thye whole
thing becomes really BUGGY in netscape6(both NS6 &
6.01). so here are the issues in NS6 ONLY:
1) when u view it the first time(with or without
frames) the scrollpane will not lshow/work...
reloading the page does help but reloading in frames
don't work.
2) when in frames (when the scorllbar finally comes
up!) it works OK... but when U "reload" the wholw
page, the scrollpane stops to function... leaving only
the setURL file in it!
hmm, please please anyone come across this problem? is
this a bug? or simply a NS6 issue??? please point me
to the right direction, thanks in advance!
<script language="Javascript">
DynAPI.onLoad = function() {
MetalScrollPaneURL =
DynAPI.librarypath+"/dynapi/images/scrollpane/"
lp = new LoadPanel();
lp.setSize(233,315); // height will be overwritten by
default
lp.moveTo(20,20);
counter = 0;
var el = new EventListener()
el.onload = function(e) {
status = 'got load event '+ counter++;
}
lp.addEventListener(el)
scrollobj = new ScrollPane(lp)
seehow=new makethPageObject()
scrollobj.setSize(254,seehow.y2-5)
scrollobj.moveTo(0,3)
scrollobj.setBgColor('#FFFFFF')
DynAPI.document.addChild(scrollobj)
lp.setURL("dynapi.gui.loadpanel-file.htm");
}
DynAPI.onResize = function() {
if(is.ie5 || is.ie4 || is.ns6){
seehow=new makethPageObject()
scrollobj.setSize(254,seehow.y2-5)
}else{
location.reload();
}
}
//-->
</script>
SICILIAN_defense
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help