/

HTML / CSS / JavaScript Tutorial

JavaScript DOM MouseEvent property: screenX

[this page | pdf | back links]

The screenX property of MouseEvent objects within the JavaScript DOM (i.e. events triggered by an action with the mouse) returns the horizontal coordinate of the mouse pointer (relative to the screen).

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile