I'm trying to use Javascript to determine the X and Y location (pixels) on an image on a web page. I want to be able to layer additional images over the main image, but the location of the main image might change from page to page.
Is there some Javascript which will find this X,Y for me everytime the page loads?
object.xlocation ???
object.ylocation ???
See what I mean? I don't know how to do this.
Thanks for any help.
Is there some Javascript which will find this X,Y for me everytime the page loads?
object.xlocation ???
object.ylocation ???
See what I mean? I don't know how to do this.
Thanks for any help.