Dave Cline wrote:
> Tribe,
> 
> I'm in the throws of porting a complex IE only javascript UI engine to Moz
> (thus my recent posts on boxmodel, etc.).
> 
> Now I'm attacking the event model.
> 
> I have to find an equivalent for setCapture and releaseCapture for specific
> elements - resizing of divs, div drag-n-drop and div movement. Currently a
> div captures mouseevents while it's being manipulated and then releases them
> on mouseup. SetCapture allows the browser to ignore events outside of a
> captured element (in case you move your mouse really fast in rezising or
> such and leave the realm of the current element).
> 
> Any examples of how this might be done in Moz?
> 
> I've see this:
> http://users.belgacom.net/gc174169/drag.html  but the author is using
> document.onmousemove to accomplish this. If this is the only way then I'll
> accept this - it just not equivalent to the IE method being used and so I
> question it.
> 
> Dave Cline
> ~bangeye~
http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget-addEventListener

-- 

Thank you for use Mozilla. Please note that n.p.m.* newsgroups are for
developers only (yes, yes, the word 'public' is misleading). Mozilla
end-user questions should be directed to:
     <snews://secnews.netscape.com:563/netscape.mozilla.user.general>
     <snews://secnews.netscape.com:563/netscape.mozilla.user.win32>
     <snews://secnews.netscape.com:563/netscape.mozilla.user.mac>
     <snews://secnews.netscape.com:563/netscape.mozilla.user.unix>
     (Note that you need to have SSL enabled and the port set to 563.)

Thank you for using Mozilla. We appreciate your help in making Mozilla a better
browser.


Reply via email to