最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

y Property

Internet Development Index

Sets or retrieves the y-coordinate, in pixels, of the mouse pointer's position relative to a relatively positioned parent element.

Syntax

event.y [ = iY ]

Possible Values

iYInteger that specifies or receives the y-coordinate, in pixels.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The property is read-only in Microsoft® Internet Explorer 4.0, and read/write in Internet Explorer 5 and later.

In browser versions earlier than Internet Explorer 5, the y property retrieves a coordinate relative to the client.

This property returns the y-coordinate of the closest relatively positioned parent element of the element that fires the event. If the event firing element is relatively positioned, then the y-coordinate from the boundary of the element is returned. If the event firing element and all of its parent elements are not relatively positioned, then the y property returns a coordinate relative to the body element.

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

Example

This example displays the current mouse position in the browser's status window.

<BODY onmousemove="window.status = 'X=' + window.event.x +
' Y=' + window.event.y">

Standards Information

There is no public standard that applies to this property.

Applies To

event
疏附县| 杭锦后旗| 广宗县| 德钦县| 泗洪县| 隆回县| 襄城县| 牙克石市| 通江县| 南开区| 武城县| 抚顺市| 靖西县| 内黄县| 荆州市| 玉树县| 霞浦县| 扶沟县| 长顺县| 嘉禾县| 安顺市| 玛多县| 甘谷县| 方山县| 民丰县| 诸城市| 贵德县| 屏东市| 鄯善县| 福泉市| 德钦县| 华亭县| 武强县| 桂林市| 平谷区| 布拖县| 云梦县| 类乌齐县| 沙雅县| 平阴县| 交城县|