简单的鼠标滑动效果
<html>
<head>
<title>changecolor</title>
</head>
<body>
<div style="width:200px;height:100px;background:maroon;"
onmouseover="changeColor('maroon')">蓝色</div>
<div style="width:200px;height:100px;background:red;"
onmouseover="changeColor('red')">红色</div>
<div style="width:200px;height:100px;background:yellow"
onmouseover="changeColor('yellow')">黄色</div>
</body>
<script language="javascript" type="text/javascript">
function changeColor(op){
document.bgColor = op;
}
</script>
</html>