亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

screenX 事件屬性

定義和用法

screenX 事件屬性可返回事件發(fā)生時鼠標(biāo)指針相對于屏幕的水平坐標(biāo)。

語法

event.screenX

實例

下面的例子可顯示出事件發(fā)生時鼠標(biāo)指針的坐標(biāo):

<html>
<head>
<script type="text/javascript">
function show_coords(event)
  {
  x=event.screenX
  y=event.screenY
  alert("X coords: " + x + ", Y coords: " + y)
  }
</script>
</head>
<body onmousedown="show_coords(event)">

<p>Click in the document. An alert box will alert 
the x and y coordinates of the cursor.</p>

</body>
</html>

TIY

screenX
提示鼠標(biāo)指針的坐標(biāo)。