View Full Version : capturing xy position onclick of mouse on image

05-29-2004, 06:55 PM
I need to write a script that will capture in two variables the mouse pointer position when clicking on an image. It has to be the pixel x and y position of the image, not of the screen.

I've done a lot of research on this on the internet and I cannot find an example that works.

Thank you for your help.


05-29-2004, 07:09 PM
You should find the bit you are interested in here: www.vladdy.net/demos/cropimage.html