Closed juandopazo closed 12 years ago
In jQuery, the way of obtaining the position of an element relative to the document is using .offset(). Isn't comparing .offset() with .getXY() clearer than with .position()?
.offset()
.getXY()
.position()
Looks good to me.
@paulirish Okay to merge?
Bump.
In jQuery, the way of obtaining the position of an element relative to the document is using
.offset()
. Isn't comparing.offset()
with.getXY()
clearer than with.position()
?