Here's an example of loadlayer in a pushpanel, (tested IE5.5, ns4.7, ns6)
you can load content same as with loadpanel, by doing:
panel1.setURL("text1.html")
(only from the same domain of course)
See:
http://www.richardinfo.f2s.com/dynapi/Gabriel_Suchowolski_Examples/loadlayer
_pushpanel.html
(url wraps)
Cheers,
Richard Bennett
[EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to DynAPI2.53)
visit the DynAPI homepage (and FAQ) ::
http://dynapi.sourceforge.net/dynapi/index.php?menu=1
Browse (and search) the mailinglist here:
http://www.mail-archive.com/index.php3?hunt=dynapi
----- Original Message -----
From: "Jozef Pierlejewski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 24 May, 2001 15:43
Subject: RE: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7
> is there any chance you can you have a look at loadpanel with viewport
> rather than scrollpane? i just dont get how to fix it for ns4(.7)
basically
> i'm after a loadpanel within a viewport so i can scroll it up & down with
> two buttons (not a scrollbar), but also load in other external content....
>
> thanks
> joe
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard
> Bennett
> Sent: Thursday, May 24, 2001 1:40 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7
>
>
> I put up an example of loadlayer and scrollpane, works in all 3 browsers,
> I've not got round to checking the loadpanel examples in NS4 yet.
>
http://www.richardinfo.f2s.com/dynapi/Gabriel_Suchowolski_Examples/loadlayer
> _Scrollbars.html
>
> Cheers,
> Richard Bennett
>
> [EMAIL PROTECTED]
> www.richardinfo.com
> (Everything running on, and ported to DynAPI2.53)
> visit the DynAPI homepage (and FAQ) ::
> http://dynapi.sourceforge.net/dynapi/index.php?menu=1
> Browse (and search) the mailinglist here:
> http://www.mail-archive.com/index.php3?hunt=dynapi
>
>
> ----- Original Message -----
> From: "Jozef Pierlejewski" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: 23 May, 2001 19:42
> Subject: RE: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7
>
>
> > i added a line under
> >
> > LoadPanel.prototype.setURL=function(url) {
> >
> > which was
> >
> > LoadPanel.queue.busy=false;
> >
> >
> > and this let me load the different files, but it doesnt seem to perform
an
> > onload event, or auto-resize the document, i presume because it is
> checking
> > for a flag in the main document and i have nested it in a viewport.
> >
> > thanks for any help
> > joe
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Jozef
> > Pierlejewski
> > Sent: Wednesday, May 23, 2001 5:08 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7
> >
> >
> > i have this problem too. i tried creating a scrollpanel and attaching it
> to
> > a viewport. netscape will load the first file, but not subsequent ones.
i
> > think it must be something to do with the variables being set. i tried
> > deleting "this.busy" from one of the lines in loadpanel.js which did
> > something but didnt fix the problem.
> >
> > i'm not really sure how loadpanel is *that* useful outside of a viewport
> > anyway. ... maybe someone would like to look into it, i'm too new to
this
> to
> > fix it!!!
> >
> > thanks
> > joe
> >
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Iker Bilbao
> > Sent: Wednesday, May 23, 2001 8:20 AM
> > To: Bober, Kyle
> > Subject: Re: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7
> >
> >
> > Hello Kyle,
> >
> > Tuesday, May 22, 2001, 11:06:38 PM, mensaje original:
> >
> > BK> Hi,
> > BK> First off I must state that I love the DynAPI and the work
> that
> > you
> > BK> have all contributed. This is by far the greatest collection of
> classes
> > yet
> > BK> to come together to tie cross browser incompatabilities together in
> one
> > BK> package. I have been using the DynAPI for about a month now and have
> > done
> > BK> some amazing things with the classes and widgets you have provided.
> One
> > of
> > BK> my favorites being a verison of brick attack(arkanoid). Well now to
my
> > BK> question before I go off on another tangent. I am using a loadpanel
> and
> > a
> > BK> scrollpane to display information on a page I am creating. The
> loadpanel
> > and
> > BK> scrollpane work fine in IE but in NS4 the scrollpane does not show
up.
> I
> > am
> > BK> sure the loadpanel is fine cause I tested it thouroughly before
adding
> > the
> > BK> scrollpane. Yet once I add the scollpane the layer disappears in
NS4.
> > Here
> > BK> is a sample of the code any help would be greatly appreciated...
> >
> > BK> Kyle
> >
> > BK> /**
> > BK> * Display the Page Now
> > BK> */
> > BK> DynAPI.showPage = function()
> > BK> {
> > BK> /** Load the DynLayers */
> > BK> loadLayers()
> >
> > BK> /** Load the event listeners */
> > BK> loadEventListeners()
> >
> > BK> /** Load the mainLayer which is a LoadPanel */
> > BK> mainLayer = new LoadPanel()
> > BK> mainLayer.setURL('home.html')
> > BK> mainLayer.setWidth(280)
> > BK> mainLayer.moveTo(30,10)
> >
> > BK> scrollLayer = new ScrollPane(mainLayer) // list will be set
> as
> > the
> > BK> content
> > BK> scrollLayer.moveTo(company.getX()+company.getWidth()+30,
> > BK> topLayer.getY()+topLayer.getHeight()+10)
> > BK> scrollLayer.setSize(305,300)
> >
> > BK> DynAPI.document.addChild(scrollLayer)
> > BK> }
> >
> > I got the same problem. I can�t put two LoadPanels in the same page
> > with NS 4.73 and it works fine in IE 5.5.
> >
> > Is there any way to workaround this problem?
> >
> > Thanks in advance for your help.
> >
> >
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
> >
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
> >
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
> >
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help