so i got it kind of working with loadlayer in ns4.7 but i'd still like to
get it to work with loadpanel but i can't


thanks
joe.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jozef
Pierlejewski
Sent: Thursday, May 24, 2001 11:35 PM
To: 'Kyle Bober'
Cc: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7


i worked out my problem:

<br><a href="javascript://" onmousedown="viewport.scrollUp()"
onmouseup="viewport.cancelScroll()"
onmouseout="viewport.cancelScroll()">scroll up</a>
<br><a href="javascript://" onmousedown="viewport.scrollDown()"
onmouseup="viewport.cancelScroll()"
onmouseout="viewport.cancelScroll()">scroll down</a>


netscape doesnt like these, but if you call
"javascript:viewport.scrollDown()" it works when you let go of the
mousebutton on the hyperlink...not the desired solution but a step in the
right direction



could someone please tell me how i might add images for buttons that have an
event listener on them, to do the scrolling?

thanks
joe






-----Original Message-----
From: Kyle Bober [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 7:26 PM
To: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7


This message was sent from Geocrawler.com by "Kyle Bober"
<[EMAIL PROTECTED]>

You really don't need the viewport...
If you use te code I supplied below that works
fine in all IE browsers but fails in NS browsers
4.7 and lower. Simply instantiate your loadpanel
and then instantiate a scrollpane which imports
the loadpanel you previously created. It works
fine but not in NS... It must be something small
that I am missing but I am busy with other work
as of now to fool around with it anymore... Also
has anyone noticed that Richardinfo.com doesn't
work properly on NS browsers and IE5.0+5.01 the
scrollpane doesn't appear in IE5.0


---------------------------------------
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_Such
owolski_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



Geocrawler.com - The Knowledge Archive


_______________________________________________
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

Reply via email to