>re: loadpanel
>yes its definitely a problem with the onload event that is causing the
failure....
>basically it doesnt report back the load event...so it doesnt resize the
content, so it doesnt scroll properly
>i still wouldnt know how to fix loadpanel.js to sort this though.
there's a second separate problem with loadpanel
i added a line
LoadPanel.queue=new LoadQueue;
in the setURL definition because it wouldnt load a second file
otherwise...however i'm sure this queue is needed for when you're loading
several loadpanels at once, and thus isnt a fix.
maybe Gabriel who wrote loadlayer might be able to look at loadpanel and fix
it
thanks
joe
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jozef
Pierlejewski
Sent: Friday, May 25, 2001 1:31 AM
To: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7
i've ended up doing it with a loadlayer and it works fine.
i couldnt work out the problems with the loadpanel but basically ns4.7 didnt
seem to report a "load" event when it had finished loading a file, which was
stopping it from working properly (it wouldnt resize content,for a start). i
dont know how to fix this
i can use loadlayer for now but i dont know how to get the loadpanel
sorted...unless it is only supported by ns4.75 etc
thanks
joe.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Digital
Strider
Sent: Friday, May 25, 2001 1:20 AM
To: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7
Drop a loadpanel into a viewport. The viewport has event handlers built for
scrolling. Then use imagebutton to call those methods on viewport.
Put these in the appropriate event call handlers.
lp = new Loadpanel {
etc...
}
myviewport(lp);
myviewport.scrollUp();
myviewport.cancelScroll();
myviewport.scrollDown();
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jozef
Pierlejewski
Sent: Thursday, May 24, 2001 4:56 PM
To: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7
not really. neither the scrollpane or the push panel are what i want: i dont
need scrollbars or panels,
i just need to put some buttons/images somewhere...maybe not even in the
same frame, that control the viewport.
have a look at
http://www.extopia.co.il/core.asp
to see what i mean...
thanks anyway
joe
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Digital
Strider
Sent: Friday, May 25, 2001 12:49 AM
To: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7
Richard's site is the "vestibule of total wisdom and knowledge", kind of a
conglomeration of pollination we call the "DynAPI Mind Hive". If you study
Christopher Go's examples there all knowledge will proceed towards you
through the mist of confusion! www.richardinfo.com
Long live the hive and the hive's keeper!
DS
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jozef
Pierlejewski
Sent: Thursday, May 24, 2001 4:21 PM
To: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7
i'm still having trouble....eventually netscape seems to stop responding to
*any* hyperlink even on a non DynAPI page...maybe there's a memory leak.
basically what i'm trying to do is:
create a layer that i can load external files into and scroll up and down
using graphic buttons / links (not scrollbars)
- when i load a new file, the scrolling should resize to the height/width of
the layer, (ie not scroll past the bottom into blank space)
it would need some combination of viewport and loadpanel/loadlayer but i'm
new to this and am having trouble with all of them
if anyone can suggest or pass on some code i'd be very grateful
thanks
joe
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Williams,
Chris
Sent: Friday, May 25, 2001 12:02 AM
To: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Help] ScrollPane and loadpaanel in Netscape 4.7
The reason that NS doesn't like these is that the onmousedown,
onmouseup, and onclick events are not captured for objects (such as
links) within a dynlayer( or loadpanel). There is a bug in mouse.js. I
found that if you replace these lines:
if (is.ns4) {
if (e.cancelBubble) return false;
if (e && e.target.handleEvent && e.target!=this)
e.target.handleEvent(type,e);
}
with these ones:
if (is.ns4) {
if (e.cancelBubble) return false;
if (e && e.target.handleEvent && e.target!=this)
e.target.handleEvent(e);
}
and remove these lines:
if (is.ns4 && type=="mouseup") {
evt.type=type="click";
evt.bubble = true;
realsrc.invokeEvent(type,evt);
}
that the events for links work.
Cheers
Chris
-----Original Message-----
From: Jozef Pierlejewski [mailto:[EMAIL PROTECTED]]
Sent: Friday, 25 May 2001 8:35 AM
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
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://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.252 / Virus Database: 125 - Release Date: 5/9/2001
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.252 / Virus Database: 125 - Release Date: 5/9/2001
_______________________________________________
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
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.252 / Virus Database: 125 - Release Date: 5/9/2001
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.252 / Virus Database: 125 - Release Date: 5/9/2001
_______________________________________________
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-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev