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~

Reply via email to