Preserved Topic: Getting position of an IMAGE. |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
posted 06-09-2001 21:05
Is there any way to get the coordinates of an image that is somewhere in a HTML page, and the image can be anywhere at any time due to resize and the like? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-09-2001 23:45
Funny you ask, I just recently developed a bit of JavaScript to do just that. |
Nervous Wreck (II) Inmate From: |
posted 06-10-2001 06:21
Woot, I tried Mr.Max's code AGAIN and this time it worked. Go Figure! |