On Jun 1, 2006, at 1:45 AM, Arnar Birgisson wrote:
> 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? You misread the docs. It definitely doesn't say you can pass coordinates as the *first* argument. -bob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
