Русский
<!-- http://bbs.downcodes.com/ --> <!--把下面代码放到<head>区域中--> <script Language="javascript"> varwhere = ""; функция checkwhere (e) { if (document.layers) { xCoord = ex; yCoord = эй; } Еще если (document.all) { xCoord = event.clientX; yCoord = event.clientY; } Еще, если (document.getElementById) {xCoord = e.clientX; yCoord = e.clientY; } document.title = "X座标值= "+ xCoord + " Y座标值= " + yCoord ; } document.onmousemove = checkwhere; if(document.captureEvents) {document.captureEvents(Event.MOUSEMOVE);} </script>