Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

x property

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

Internet Explorer 9

Syntax

HRESULT value = object.get_x(* p);

Property values

Type: long

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

Reference
IDOMMouseEvent::clientX
IDOMMouseEvent::offsetX
IDOMMouseEvent::pageX
IDOMMouseEvent::screenX

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.