判断鼠标在网页的某个区域移动
转自http://jingyan.baidu.com/article/ac6a9a5e5c040b2b653eac25.html,这里面还有些其他有用的操作
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>鼠标移入移出时颜色变化代码</title>
</head>
<body>
<input type="submit" value="把鼠标移动这里" name="btn1" onMouseOut=this.style.color="blue"
onMouseOver=this.style.color="red" >
</body>
</html>