public final int getRelativeY ( ) { NativeEvent e = getNativeEvent ( ) ; Element target = getTarget ( ) ; return e . getClientY ( ) - target . getAbsoluteTop ( ) + target . getScrollTop ( ) + target . getOwnerDocument ( ) . getScrollTop ( ) ; }
Get relative y position on the page .