Português
<!-- http://bbs.downcodes.com/ --> <!--把下面代码放到<head>区域中--> <script language="javascript"> var where = ""; function checkwhere(e) { if (document.layers){ xCoord = ex; yCoord = ey; } else if (document.all){ xCoord = event.clientX; yCoord = evento.clientY; } else if (document.getElementById){ xCoord = e.clientX; yCoord = e.clientY; } document.title = "X座标值= "+ xCoord + " Y座标值= " + yCoord ; } document.onmousemove = verificaronde; if(document.captureEvents) {document.captureEvents(Event.MOUSEMOVE);} </script>