hi,
how to find position of an element within a div
eg:
<div style="width:100px;overflow:hidden">
<img id="img_1" src=""/>
<img id="img_2" src=""/>
</div>
<input type="button" onclick"fnscroll()">
consider the second image is hidden.
how to bring that second img in the visible area of the div? at a single button click.
how to find the img position ie, x-y position
using javascript