<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<title>鼠标事件(mousemove/mouseover/mouseout)</title>
<script type="text/javascript">
function RecordMouse(e){
window.status = e.clientX+","+e.clientY;
}
</script>
</head>
<body>
<!--
<input type="text" onmouseover="alert('鼠标进入了文本框')" onmouseout="alert('鼠标离开了文本框')"/>
-->
<div style="width:600px;height:500px;border:1px solid #cccccc;" onmousemove="RecordMouse(event)"></div>
</body>
</html>