asp.net.ph

Skip Navigation Links

screenX Property

event Properties   DHTML Events


DOM Level 2 Specification.

Retrieves the horizontal position of the mouse relative to the user's screen.

Syntax


HTML N/A
Script [ intSize = ] event.screenX

Possible Values


intSize Integer value specifying the horizontal length of the screen size, in pixels.

The property is read-only, with no default value.

Remarks

This property returns the x-coordinate of the cursor position at which the event occurred, in pixels, relative to the left origin of the screen coordinate system.

Applies To

event

See Also

clientX, clientY, offsetX, offsetY, screenY



>

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note