该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
Titleli{
width: 80px;
height: 30px;
}
#under li{
background-color: aqua;
list-style: none;
float: left;
margin-right: 35px;
}
-
- 隐藏1
- 隐藏2
- 隐藏3
window.onload = function (){
var li=document.getElementById("list")
var under = document.getElementById('under');
var a = document.getElementById('link');
li.onmouseover = function (){
under.style.display = 'block';
under.style.background = 'yellow';
};
li.onmouseout = function hide(){
under.style.display = 'none';
a.style.background = '#f1f1f1';
};
};