function document.onmousemove()
{
window.status="客户区坐标(X=["+event.x+"]:Y=["+event.y+"])"+"卷积区坐标(X=["+eval(1*document.body.scrollLeft+1*event.x)+"]:Y=["+eval(1*document.body.scrollTop+1*event.y)+"])";
}
{
window.status="客户区坐标(X=["+event.x+"]:Y=["+event.y+"])"+"卷积区坐标(X=["+eval(1*document.body.scrollLeft+1*event.x)+"]:Y=["+eval(1*document.body.scrollTop+1*event.y)+"])";
}
ObjectID.style.cursor="crosshair";//鼠标就可以了
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>aaaaaaa</title>
<script>
function aa()
{
var newText=document.createTextNode(window.event.x+","+window.event.y);
document.all.div1.replaceChild(newText,document.all.div1.childNodes[0]);
document.all.div1.style.position="absolute";
document.all.div1.style.left=window.event.x+10;
document.all.div1.style.top=window.event.y;
}
document.onmousemove=aa;
</script>
</head><body style="cursor:crosshair">
<div id="div1" style="width: 56; height: 28">aaaaaaa</div>
</body></html>