二级菜单
#tabMenu
{
width:150px;
}
#tabMenu a
{
width:150px;
display:block;
height:30px;
line-height:30px;
text-align:center;
background-color:#CCC;
color:black;
text-decoration:none;
border:solid 1px;
}
#tabMenu a:hover
{
color:#FFF;
background-color:red;
}
#tabMenu div
{
position:absolute;
z-index:10;/*把后面的层隐藏了*/
display:none;
}
function showmenu(num)
{
document.getElementById("menu"+num).style.display="block";
}
function hidemenu()
{
document.getElementById("menu"+num).style.display="none";
}
编程语言
WEB开发
产品中心
JAVA详解
C++详解
C语言详解
查看更多关于二级菜单制作_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did105095