I would like to know if there is any prototype equivalent to the JQuery's .offset() function?
Thanks for your help.
jQuery's offset (element position relative to document) maps to Element.cumulativeOffset
similarly, jQuery's position (element position relative to offset parent) maps to Element.positionedOffset
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With