...

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



tonyh79``
05-29-2004, 05: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.

tony

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum