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

clientY Property

Internet Development Index

Sets or retrieves the y-coordinate of the mouse pointer's position relative to the client area of the window, excluding window decorations and scroll bars.

Syntax

event.clientY [ = iYPos ]

Possible Values

iYPosInteger 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.

Because the clientY property returns a value relative to the client, you can add the value of the scrollTop property to determine the distance of the y-coordinate from the edge of the body element.

Within a viewlink, the client area begins at the edge of the master element.

Example

This example uses the clientY property to determine the mouse position relative to the window. The status window shows the mouse position at all times.

<SCRIPT>
function clientCoords()
{
var offsetInfo = ""
clientInfo = "The x coordinate is: " + window.event.clientX + "\r"
clientInfo += "The y coordinate is: " + window.event.clientY + "\r"
alert(clientInfo);
}
</SCRIPT>
</HEAD>
<BODY onmousemove="window.status = 'X=' + this.clientX + ' Y=' +
this.clientY"
ondblclick="clientCoords()">
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

There is no public standard that applies to this property.

Applies To

event
阳谷县| 加查县| 郁南县| 库伦旗| 新蔡县| 洮南市| 肥东县| 紫阳县| 绥江县| 新巴尔虎右旗| 木兰县| 香河县| 将乐县| 孟津县| 巴彦淖尔市| 进贤县| 上蔡县| 山西省| 若羌县| 乌兰浩特市| 邹城市| 保亭| 赤峰市| 澜沧| 沅陵县| 龙井市| 永胜县| 潍坊市| 富裕县| 聂荣县| 郎溪县| 柯坪县| 丹寨县| 肥东县| 平舆县| 巴里| 潍坊市| 阳山县| 鄂伦春自治旗| 乌拉特中旗| 蓬溪县|