Ahh, so that should solve the problem of the "sticky" scroll-bar-knobs.
Maybe you could submit it as a patch so it doesn't get forgotten.
 
Richard.
----- Original Message -----
Sent: Friday, March 16, 2001 1:56 PM
Subject: [Dynapi-Dev] Mouse Events in IE

I was getting pissed off that IE detected the location of a 'mouseup' event in the current location and NS used the same location where the 'mousedown' event was triggered.

Here's some code that stores the mousedown source and redirects the mouseup event so that both browsers now act in the same fashion.

DynEvent.focus=src; // add this as a static property of the DynEvent
// add the following code just before the "src.invokeEvent(type, evt);" line
if (is.ie) {
    if (e.type=='mousedown') DynEvent.focus=src;
    else if (e.type=='mouseup' && DynEvent.focus!=null)
        evt.src=src=DynEvent.focus;
};

Does anyone think this is worth placing in CVS?
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010

Reply via email to