只有自动轮换效果,没有onmouseover效果
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
#content {
width:400px;
height:200px;
border:1px solid #000;
margin:200px auto;
}
#menu {
width:160px;
height:30px;
margin-top: 20px;
margin-left:20px;
}
*{
margin:0;
padding:0;
}
#menu li {
list-style: none;
float:left;
width:80px;
height:30px;
background-color: aqua;
line-height:30px;
text-align: center;
}
#pic {
margin-left: 20px;