point

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alain Dhaene

    #1

    point

    Hi,

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

    Alain


  • Richard Cornford

    #2
    Re: point

    Alain Dhaene wrote:[color=blue]
    > Is there a method to get the x and the y coordinates where a user
    > click in the screen?[/color]

    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.


    Comment

    Working...