Forum Moderators: open
There is an image on a page that says "click me for options". When clicked, I want a div to be revealed, just below the image.
Here's the trick - the image will be in different places on different pages, so I need to set the position of the div to be relative to the position of the image.
How can I obtain the absolute position of the image so that I can absolutly position the div?
Thanks.
<div id="container">
<img>
<div id="comment">comments</div>
</div>