** 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

Reply via email to