日本語
<!-- 脚本说明: 第一步:取如下代码<body> 領域中:--> <SCRIPT LANGUAGE="JavaScript"> if (navigator.appName == 'Netscape') { document.captureEvents(Event.マウス移動); document.onmousemove = netscapeMouseMove; } function netscapeMouseMove(e) { if (e.screenX != document.test.x.value && e.screenY != document.test.y.value) { document.test.x.value = e.screenX; document.test.y.value = e.screenY; } } function micro() { if (window.event.x != document.test.x.value && window.event.y != document.test.y.value) { document.test.x.value = ウィンドウ。イベント.x; document.test.y.value = window.event.y; } } </SCRIPT> <FORM NAME="test"> X: <INPUT TYPE="TEXT" NAME="x" SIZE="4"> Y: <INPUT TYPE="TEXT" NAME="y" SIZE= "4"> </FORM> <!--第二步:<body>中の内容変更:--> <body bgcolor="#fef4d9" onMousemove="micro()">