Applications Windows
Réduire la table des matières
Développer la table des matières
EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

x property

Gets the x-coordinate of the mouse pointer, relative to the last positioned ancestor element.

Syntax

JavaScript

p = object.x

 

Property values

Type: Integer

The x-coordinate.

Standards information

Remarks

A positioned element is an element whose position property is set to relative, absolute or fixed. For more information about element positioning, see About Element Positioning.

See also

DragEvent
MouseEvent
MouseWheelEvent
WheelEvent
Reference
clientX
offsetX
pageX
screenX

 

 

Afficher:
© 2017 Microsoft