红色企业级专业菜单

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>导航菜单</title>
<style>
body,td,th {
	font-family: "微软雅黑", Arial, "新宋体";
	font-size: 15px;
	color: #333333;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a {
	color: #333333;
	text-decoration: none;
}
a:hover {
	color: #Ffff00;
	text-decoration: none;
}
a:active{
	color: #FF0000;
	text-decoration: none;
}
#menu{
	height:32px;
	margin-top:95px;;
}
#menu ul{
	margin:auto;
	width:880px;
	height:32px;
	list-style-type:none;
	padding:0px;
	margin-top:0px;
	margin-bottom:0px;
}
.m_li{
	float:left; width:95px; line-height:32px;  text-align:center; margin-right:-2px; margin-left:-2px;
}
.m_li a{
	display:block; color:#333333; width:95px;
}
.m_line{
	float:left; width:1px; height:32px;
	line-height:32px;   /*ff下有效(图片垂直居中)*/
}
.m_line img{
	margin-top:expression(( 32 - this.height ) / 2);   /*ie下有效(图片垂直居中)*/
}
.m_li_a{
	float:left; width:95px; line-height:30px; text-align:center; padding-top:3px; font-weight:bold;
	background-image:url(topbg.jpg); position:relative; height:30px; margin-top:-3px; margin-right:-2px; margin-left:-2px;
}
.m_li_a a{
	display:block; color:#FF0000; width:95px;
}

.smenu{
	width:1000px;
	margin:0px auto 0px auto;
	padding:0px;
	list-style-type:none;
	height:30px;
}
.s_li{
	line-height:30px; width:auto; display:none; height:30px; 
}
.s_li_a{
	line-height:30px;
	width:auto;
	display:block;
	height:30px;
}
</style>
<script>
//初始化
var def="1";
function mover(object){
  //主菜单
  var mm=document.getElementById("m_"+object);
  mm.className="m_li_a";
  //初始主菜单隐藏效果
  if(def!=0){
    var mdef=document.getElementById("m_"+def);
    mdef.className="m_li";
  }
  //子菜单
  var ss=document.getElementById("s_"+object);
  ss.style.display="block";
  //初始子菜单隐藏效果
  if(def!=0){
    var sdef=document.getElementById("s_"+def);
    sdef.style.display="none";
  }
}

function mout(object){
  //主菜单
  var mm=document.getElementById("m_"+object);
  mm.className="m_li";
  //初始主菜单
  if(def!=0){
    var mdef=document.getElementById("m_"+def);
    mdef.className="m_li_a";
  }
  //子菜单
  var ss=document.getElementById("s_"+object);
  ss.style.display="none";
  //初始子菜单
  if(def!=0){
    var sdef=document.getElementById("s_"+def);
    sdef.style.display="block";
  }
}
</script>
</head>
<body>
<div id="menu">
  <ul>
    <li class="m_line"><img src="http://www.codefans.net/jscss/demoimg/200904/line2.gif" /></li>
    <li id="m_1" class='m_li_a'><a href="index.html">网站首页</a></li>
    <li class="m_line"><img src="http://www.codefans.net/jscss/demoimg/200904/line2.gif" /></li>
    <li id="m_2" class='m_li' onmouseover='mover(2);' onmouseout='mout(2);'><a href="#">关于我们</a></li>
    <li class="m_line"><img src="http://www.codefans.net/jscss/demoimg/200904/line2.gif" /></li>
    <li id="m_3" class='m_li' onmouseover='mover(3);' onmouseout='mout(3);'><a href="#">新闻中心</a></li>
    <li class="m_line"><img src="http://www.codefans.net/jscss/demoimg/200904/line2.gif" /></li>
    <li id="m_4" class='m_li' onmouseover='mover(4);' onmouseout='mout(4);'><a href="#">产品展示</a></li>
    <li class="m_line"><img src="http://www.codefans.net/jscss/demoimg/200904/line2.gif" /></li>
    <li id="m_5" class='m_li' onmouseover='mover(5);' onmouseout='mout(5);'><a href="#">客户中心</a></li>
    <li class="m_line"><img src="http://www.codefans.net/jscss/demoimg/200904/line2.gif" /></li>
    <li id="m_6" class='m_li' onmouseover='mover(6);' onmouseout='mout(6);'><a href="#">解决方案</a></li>
    <li class="m_line"><img src="http://www.codefans.net/jscss/demoimg/200904/line2.gif" /></li>
    <li id="m_7" class='m_li' onmouseover='mover(7);' onmouseout='mout(7);'><a href="#">在线服务</a></li>
    <li class="m_line"><img src="http://www.codefans.net/jscss/demoimg/200904/line2.gif" /></li>
    <li id="m_8" class='m_li' onmouseover='mover(8);' onmouseout='mout(8);'><a href="#">联系我们</a></li>
    <li class="m_line"><img src="http://www.codefans.net/jscss/demoimg/200904/line2.gif" /></li>
  </ul>
</div>
<div style="height:30px; background-image:url(bg.jpg)" >
  <ul class="smenu">
     <li style="padding-left:0px;" id="s_1" class='s_li_a'>
     <table border="0" cellpadding="0" cellspacing="0">
     <tr>
     <td background="sebg.jpg"><img src="tou.jpg" width="49" height="30" /></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg">您是本站第13122842位访客!</td>
     <td><img src="wei.jpg" width="47" height="30" /></td>
     </tr>
     </table>
     </li>
     <li style="padding-left:0px;" id="s_2" class='s_li' onmouseover='mover(2);' onmouseout='mout(2);'>
     <table border="0" cellpadding="0" cellspacing="0">
     <tr>
     <td background="sebg.jpg"><img src="tou.jpg" width="49" height="30" /></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">公司简介</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">总裁寄语</a></td>
     <td><img src="seline.jpg"></td> 
     <td background="sebg.jpg"><a href="#">企业文化</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">组织架构</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">厂房设备</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">公司事记</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><img src="wei.jpg" width="47" height="30" /></td>
     </tr>
     </table>
     </li>
     <li style="padding-left:50px;" id="s_3" class='s_li' onmouseover='mover(3);' onmouseout='mout(3);'>
     <table border="0" cellpadding="0" cellspacing="0">
     <tr>
     <td background="sebg.jpg"><img src="tou.jpg" width="49" height="30" /></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">公司新闻</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">行业动态</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">产品新闻</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">媒体报道</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">视频新闻</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><img src="wei.jpg" width="47" height="30" /></td>
     </tr>
     </table>
     </li>
     <li style="padding-left:80px;" id="s_4" class='s_li' onmouseover='mover(4);' onmouseout='mout(4);'>
     <table border="0" cellpadding="0" cellspacing="0">
     <tr>
     <td background="sebg.jpg"><img src="tou.jpg" width="49" height="30" /></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">产品分类1</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">产品分类2</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">产品分类3</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">产品分类4</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">产品分类5</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><img src="wei.jpg" width="47" height="30" /></td>
     </tr>
     </table>
     </li>
     <li style="padding-left:120px;" id="s_5" class='s_li' onmouseover='mover(5);' onmouseout='mout(5);'>
     <table border="0" cellpadding="0" cellspacing="0">
     <tr>
     <td background="sebg.jpg"><img src="tou.jpg" width="49" height="30" /></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">客户中心1</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">客户中心2</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">客户中心3</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">客户中心4</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">客户中心5</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><img src="wei.jpg" width="47" height="30" /></td>
     </tr>
     </table>
     </li>
     <li style="padding-left:150px;" id="s_6" class='s_li' onmouseover='mover(6);' onmouseout='mout(6);'>
     <table border="0" cellpadding="0" cellspacing="0">
     <tr>
     <td background="sebg.jpg"><img src="tou.jpg" width="49" height="30" /></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">解决方案1</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">解决方案2</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">解决方案3</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">解决方案4</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">解决方案5</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><img src="wei.jpg" width="47" height="30" /></td>
     </tr>
     </table>
     </li>
     <li style="padding-left:450px;" id="s_7" class='s_li' onmouseover='mover(7);' onmouseout='mout(7);'>
     <table border="0" cellpadding="0" cellspacing="0">
     <tr>
     <td background="sebg.jpg"><img src="tou.jpg" width="49" height="30" /></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">在线留言</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">查看留言</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><img src="wei.jpg" width="47" height="30" /></td>
     </tr>
     </table>
     </li>
     <li style="padding-left:450px;" id="s_8" class='s_li' onmouseover='mover(8);' onmouseout='mout(8);'>
     <table border="0" cellpadding="0" cellspacing="0">
     <tr>
     <td background="sebg.jpg"><img src="tou.jpg" width="49" height="30" /></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">联系方式</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">智能地图</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><a href="#">专卖店展示</a></td>
     <td><img src="seline.jpg"></td>
     <td background="sebg.jpg"><img src="wei.jpg" width="47" height="30" /></td>
     </tr>
     </table>
     </li>
   </ul>
</div>
</body>
</html>