I would like this in Mochi as well. I've used that findpos function, but it owuld be nice to have that baked into MochiKit.DOM.

Leonardo Soto M. wrote:


Hi!,

I've been using MochiKit for two weeks, and I'm pretty happy with it. Happy enough that I'm now porting a small javascript widget library used in my work to be based on MochiKit :-).

Now, my question. What about including in Mochikit some functions to get the coordinates of a element relative to the document?. I mean, something like <http://www.quirksmode.org/js/findpos.html> (this is what I'm using now). Or is it a way to do it already present in MochiKit.DOM?

Greetings,



Reply via email to