<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>CSS下拉菜单演示</title>
<style type="text/css">
<!--
*{margin:0;padding:0;border:0;}
body {
font-family: arial, 宋体, serif;
font-size:12px;
color:white;
}
#nav {
line-height: 24px; list-style-type: none; background:red;
}
#nav a {
display: block; width: 80px; text-align:center;
}
#nav li {
float: left; width: 80px; background:purple;
}
#nav li ul {
line-height: 27px; list-style-type: none;text-align:left;
left: -999em; width: 180px; position: absolute;
}
#nav li ul li{
float: left; width: 180px;
background:orange;
}
#nav li ul a{ wedisplay: block; width: 156px;text-align:left;padding-left:24px;
}
#nav li.sfhover ul {
left: auto;
}
-->
</style>
<script type=text/javascript>
<!--//--><![CDATA[//><!--
function menuFix() {
var sfEls = document.getElementById("nav").getElementsByTagName("li");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onMouseDown=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onMouseUp=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"),
"");
}
}
}
window.onload=menuFix;
//--><!]]>
</script>
</head>
<body scroll=no leftmargin=5>
<ul id="nav">
<li><a>成功案例</a>
<ul>
<li><a>产品一</a></li>
<li><a>产品一</a></li>
<li><a>产品一</a></li>
<li><a>产品一</a></li>
<li><a>产品一</a></li>
<li><a>产品一</a></li>
</ul>
</li>
<li><a>成功案例</a>
<ul>
<li><a>服务二</a></li>
<li><a>服务二</a></li>
<li><a>服务二</a></li>
<li><a>服务二服务二</a></li>
<li><a>服务二服务二服务二</a></li>
<li><a>服务二</a></li>
</ul>
</li>
<li><a>在线演示</a>
<ul>
<li><a>演示</a></li>
<li><a>演示</a></li>
<li><a>演示</a></li>
<li><a>演示演示演示</a></li>
<li><a>演示演示演示</a></li>
<li><a>演示演示</a></li>
<li><a>演示演示演示</a></li>
<li><a>演示演示演示演示演示</a></li>
</ul>
</li>
</ul>
<br><br><br>
<iframe src="" width=760 height=450 style="z-index:-1;border:1px solid #175E88;">
</body>
</html>