yy*
*Contents  *Index  *Topic Contents
*Previous Topic: x
*Next Topic: zIndex

y

Description

Returns the position of the mouse hit relative to the element in the parent hierarchy that is positioned using the CSS positioning attribute. If no element in the hierarchy has been positioned, the BODY element is the default.

Syntax

object.y

Remarks

If the mouse is outside the window at the time the event fires, this property returns -1.

This property has read-only permission, meaning you can retrieve its current value, but not change it.

Applies To

event


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.