being the NS6 events god that you are, do you have any idea on how I could
do the same for NS6.  The e.src keeps being reposted as the dyndoc.  btw,
I've since moved the code into the MouseEvent object to allow for it not
being needed for anything else but mouse events.  Just move the added if
statement to the start of the MouseEvent.prototype.setEvent

Jordi - IlMaestro - Ministral wrote:

> If I don't receive a large amount of rocks I'll make it into DynAPI X.
> Note that I'm no longer developing the old code. To me it is about dead.
>
> Michael Pemberton wrote:
>
> > 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
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev

--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010




_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to