Re: Mouse events - coordinate systems

>However, it would be very useful to have something linke offsetX, offsetY
>that would show mouse coordinates relative to the origin of the element
>(e.g. a DIV element) within which the event occured.

You may be able to extract that information using the DOM Level 3 "Views"
features, when that becomes available. It's _NOT_ a simple problem;
remember that there's nothing which obligates the displayed form of
elements to be cleanly nested, or even contiguous,

______________________________________
Joe Kesselman  / IBM Research

Received on Thursday, 22 June 2000 19:08:17 UTC