necromant » Вт янв 28, 2003 12:32 am
<html>
<head>
<script language="JavaScript"><!--
if (document.layers) document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=mtrack;
function mtrack(e) {
var Text= 'Coordinates: ';
if (document.layers) Text += e.pageX+','+e.pageY
else Text += event.x+','+event.y;
window.status= Text;
}
//--></script>
</head>
<body>
Move the mouse and see the status change
</body>
</html>
Люблю девушек и калькуляторы