시소당
<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>
<body onmousemove="window.status = 'X=' + window.event.clientX + ' Y=' + window.event.clientY" ondblclick="clientCoords();">
</body>