<html> <head> <title>Coordinates</title> <script type="text/javascript"> function showcoords() { var x=0,y=0; x = event.offsetX; y = event.offsetY; window.status = "x = " + x + ", y = " + y; return (true) } </script> </head> <body> <img src="yourpic.jpg" onmousemove="showcoords()" /> </body> </html>
Jump To Top of Thread