I guess thats how I'll do it :-/
Sure I saw a Dom call once or something though.

On Sep 10, 6:17 pm, Thomas Broyer <[email protected]> wrote:
> On 10 sep, 17:22, darkflame <[email protected]> wrote:
>
> > Id like to know the current mouse x/y, relative to an element, at an
> > arbitrary point in my code.
> > (in this specific case during a scroll wheel event, but I might want
> > it elsewhere later)
>
> > How would I do this?
> > I'm sure theres a simple function I'm missing, but it just escapes
> > me :-/
>
> No, there's no mean to "ask the mouse" where "she" is; your only
> option (afaict) is to listen to mousemove events and store the
> coordinates in "global" variables that you can then read from another
> "event loop iteration".
--~--~---------~--~----~------------~-------~--~----~
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