显示坐标

<script language=javascript>

function mybody_onmousemove()

{

window.status="X="+ window.event.x+",Y="+ window.event.y;

//窗口对象.状态栏,窗口对象.event 对象.x 属性

}

</script>

</head>

<body id=mybody language=javascript

 onmousemove="return mybody_onmousemove()">

// 鼠标移动事件,处理事件