point

A

Alain Dhaene

Hi,

Is there a method to get the x and the y coordinates where a user click in
the screen?

Alain
 
R

Richard Cornford

Alain said:
Is there a method to get the x and the y coordinates where a user
click in the screen?

For a script executing in a web browser, clicking the "screen" is
irrelevant. Anything that happens outside of the client aria of the
browser window is normally inaccessible. If a users clicks on the client
area it is possible to read the screen co-ordinates of the click from
the properties of the event object, but it is almost never useful to do
so, co-ordinates within the client area, or within the HTML page are
generally more useful.

Richard.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top