no. from my experience the resize fix does not break events. since events are
attached
during the specificCreate() method, they are automatically recreated along with the new
layer element.
as far as the remaining problems with scrollpane etc. not redrawing correctly, we
should
still put the fix in. It is better to have simple sites working than have none
working.
Robert Rainwater wrote:
> Which changes are needed? I'm not able to keep up lately. If I read
> right, the resize fix, kills events? Is this correct? If so, I think
> we need to find a better way. If not, I will gladly put it in CVS.
>
> --
> Robert Rainwater
>
> On 5/30/2001, 2:04:54 PM EST, Richard wrote about "[Dynapi-Help] Re: Resize
>issues...":
>
> > No, I just posted it as a patch, I think you and Robert are the only ones
> > with cvs access at the moment. At least we know who to blame if something
> > goes wrong :O)
>
> > Also, as I posted before, the proposed NS4 resize-fix still has bad problems
> > with Dynimage.js, and scrollpane, it would be nice to sort these out before
> > the code gets into a release, or NS4 will become unusable with pages having
> > dynimages or scrollpanes.
>
> > Richard.
>
> > ----- Original Message -----
> > From: "Jordi Ministral" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: 30 May, 2001 10:40
> > Subject: Re: [Dynapi-Help] Re: Resize issues...
>
> >> Is anyone maiking any of these into CVS ?
> >>
> >> Richard Bennett wrote:
> >>
> >> > Hi
> >> > Yeah, the problem was in dragevent.js line 26,
> >> > e.cancelBrowserEvent();
> >> >
> >> > had been changed to :
> >> > if (is.def) e.cancelBrowserEvent();
> >> >
> >> > We had done this because NS4 was loosing it's native events.
> >> > If you apply the ns4 events fix detailed by Chris Williams, the
> >> > if(is.def)
> >> >
> >> > is no longer needed, and text is no longer selected under ns4 with
> >> > scrollbars, or dragging.
> >> >
> >> > I had tried something like your dragging suggestion inside dragevent.js,
> >> > replacing line 101 with:
> >> > setTimeout(lyr+'.invokeEvent("dragmove");',50)
> >> >
> >> > Which gives a kind of slow-motion effect to anything under ondragmove.
> > Not
> >> > entirely satisfactory.
> >> > There seems to be more going on in NS6, somethings drag very easily, and
> >> > some are very jerky.
> >> > Maybe something to do with event bubbling.
> >> >
> >> > Richard.
> >> >
> >> > ----- Original Message -----
> >> > From: "Gabriel Suchowolski" <[EMAIL PROTECTED]>
> >> > To: <[EMAIL PROTECTED]>
> >> > Sent: 29 May, 2001 21:56
> >> > Subject: [Dynapi-Help] Re: Resize issues...
> >> >
> >> > > ** Richard **
> >> > >
> >> > > >Another thing, since DynAPI-X, NS4 suffers from horrible text
> > selecting
> >> > > when
> >> > > >there are scroll-bars on the page , it seems the mousedown bubbles to
> > the
> >> > > >page, but the mouseup doesn't.
> >> > >
> >> > > I found the same in a scroll addon I do it for loadlayer (still
> > working on
> >> > > it for public release) but I resolve using e.cancelBrowserEvent() for
> > the
> >> > > mousedown and NS4 do not make any selection of text.
> >> > >
> >> > > **Another thing**
> >> > >
> >> > > Also a found that NS4 and NS6/Mozilla force a lot the browser and slow
> > it
> >> > a
> >> > > lot when you make something like...
> >> > >
> >> >
> >> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >> > -
> >> > > (schemathiccode)
> >> > > eventfns = new EventListener(this);
> >> > > eventfn.ondrag = = function (e) {
> >> > > ...
> >> > > ( code that make changes in visible layers )
> >> > > ...
> >> > > }
> >> > > mydraglayer..addEventListener(eventfns);
> >> >
> >> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >> > -
> >> > >
> >> > > like is normaly used on a scroll widged. This method force the browser
> > (in
> >> > > NS4/MOZ/NS6) to update the content to many times that they can't do it
> >> > > speedy.
> >> > >
> >> > > To solve this I use another method less CPU intensive that let the
> > browser
> >> > > refresh the content better
> >> > >
> >> >
> >> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >> > -
> >> > > (schemathiccode)
> >> > > eventfns = new EventListener(this);
> >> > >
> >> > > mydraglayer.myfunctionthatupdatealotofthingsinthescreen = new function
> > ()
> >> > {
> >> > > ...
> >> > > ( code that make changes in visible layers )
> >> > > ...
> >> > > }
> >> > >
> >> > > mydraglayer.eventfn.ondragstart = function (e) {
> >> > > var o = e.getTarget();
> >> > >
> >> > >
> >> >
> > o.dragInterval=setInterval(o.toString()+".myfunctionthatupdatealotofthingsin
> >> > > thescreen()",50)
> >> > > e.setBubble(false);
> >> > > }
> >> > >
> >> > > this.dragCTevents.ondragend = function (e) {
> >> > > var o = e.getTarget();
> >> > > clearInterval(o.dragInterval);
> >> > > e.setBubble(false);
> >> > > }
> >> > >
> >> > > mydraglayer..addEventListener(eventfns);
> >> >
> >> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >> > -
> >> > >
> >> > > Gabriel Suchowolski
> >> > > www.microbians.com - [EMAIL PROTECTED]
> >> > >
> >> > >
> >> > > _______________________________________________
> >> > > 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
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help