I discovered that this is caused by line 55 of the dynLayer.js.  As follows:

this.elm.captureEvents(Event.LOAD);  // this is nested in an NS4 specific
area of specificCreate.

This of course dynamically (and very slyly, I might add) captures all the
onLoad calls required to make loadPanel queue up and just, well... work as
designed.

reference this little gem in the loadNext() function of loadPanel (NE4
specific).

while(lyr.parentLayer) lyr=lyr.parentLayer;
lyr.onload=LoadQueue.loadHandler;
lpanel.loadElement.onload=LoadQueue.loadHandler;
lpanel.loadElement.src=url;

Now commenting line 55 out makes the Christmas tree light up so to speak,
creating a sense of awe.  Since I didn't have allot to do with the
transition to "specificCreate" structure I'm not at all sure "why" that line
is there.  It might perform some amazing "stealth purpose".

One can only:

1) Comment it out.  Step back from the PC as NS lights up central square in
New York on any typical evening and see if shit hits the inside front of
your monitor.
2) Query the superfine "mindhive" of the API's development team as to why
that code was introduced.  Brain fart?  Evil maniacal sub-plot?  Real
purpose?  What ever, I'm sure they will chime in and enlighten us all with
the specifics.

Laters,

Raymond
AKA Digital Strider,
AKA Original Strider,
AKA Pascal,
AKA The "rock"...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Pickup,
Jordan
Sent: Friday, November 02, 2001 9:34 AM
To: [EMAIL PROTECTED]
Subject: [Dynapi-Help] Scrollpane, Loadpanel, and NS4


I am trying to make a loadpanel in a scrollpane using DynAPI 2.53. It is
almost working.

It works perfectly in IE5.5 and NS6.1 but in NS4.77 it only lets me use
setURL once. After I load the first document, it just ignores my subsequent
setURL calls. No errors are thrown but the new document doesn't get loaded.

There isn't an example of a loadpanel in a scrollpane with the DynAPI so I
tried some at Richard's site including (I tried more):
 dynapi.gui.loadpanel_scroll.html
 dynapi.gui.loadpanel_scrollpane.html

They all don't work for the second file.

I tried using a pushpanel instead of a scrollpane - it didn't work either.

I tried using just a viewport - it still didn't work.

Using a loadpanel that isn't in a viewport works just fine - but then it
doesn't scroll.

Has anyone had any luck with this? Or know why it doesn't work?
Or is it fixed in 2.55a?
Or do the examples work and its just my Netscape that doesn't?

Can anyone help me out?

Thanks

Jordan



_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.286 / Virus Database: 152 - Release Date: 10/9/2001

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.286 / Virus Database: 152 - Release Date: 10/9/2001


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to