S
steven acer
i have an INPUT element inside a scrolling DIV.initially the element's
position is off screen or off the viewable part of it
and has coordinates as follows X=223 Y=2225.
Is there a way to like when i scroll the DIV to this element,
calculate the "viewable" coordinates if the element with respect to
the page.
example: when i scroll to it i would expect a Y (if vertically ) value
<= page height but i always get the offscreen
coordinates
thanks
position is off screen or off the viewable part of it
and has coordinates as follows X=223 Y=2225.
Is there a way to like when i scroll the DIV to this element,
calculate the "viewable" coordinates if the element with respect to
the page.
example: when i scroll to it i would expect a Y (if vertically ) value
<= page height but i always get the offscreen
coordinates
thanks