Hi there,

If you pass a Coordinates object as the first argument to
getElementPosition, the second argument is ignored. Thus

var offset = getElementPosition(ev.mouse().page, somelement);

just returns ev.mouse().page, instead of returning the mouse
coordinates relative to "someelement".

Is this a bug, or did I just misread the docs?

Arnar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to