【文件属性】:
文件名称:当前鼠标的光标坐标是多少
文件大小:305B
文件格式:TXT
更新时间:2016-04-07 04:36:45
光标坐标
<html>
<head>
[removed]
function show_coords(event)
{
x=event.clientX
y=event.clientY
alert("X 坐标: " + x + ", Y 坐标: " + y)
}
[removed]
</head>
<body
<p>在此文档中按下你鼠标的左键看看!
</body>
</html>