Hello,

imagine a  <div> element that contains various other div child
elements. (huge amount) I'd like to get the child element of the
parent div when I hold down the mouse button. (MouseDownEvent) In
order to let the parent <div> be the relative container coordinate
calculations will be made on I registered a new MouseEventHandler to
that parent element. But now I have the problem of getting the deepest
DOM element under mouse cursor (resp. top visible element under mouse
cursor when event occures) The method event.getSource() will only give
me the parent div element and the only method to accomplish this seems
to be via JSNI as shown here: 
http://www.quirksmode.org/js/events_properties.html#target.
As I'd like to avoid JSNI where possible, is there a GWT driven way to
get the child element?

Greetings
- Marcel Karras

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to