导航控件

<HTML>
<HEAD>
<style type="text/css"> BODY {MARGIN: 0px; FONT: 12px 宋体 } TABLE { BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px } TD { FONT: 12px 宋体 } IMG { BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px } A { FONT: 12px 宋体; COLOR: #215dc6; TEXT-DECORATION: none } A:hover { COLOR: #428eff } .sec_menu { BORDER-RIGHT: white 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 2px; BACKGROUND: #ffffff; PADDING-BOTTOM: 5px; BORDER-LEFT: white 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: white 1px solid } .menu_title { } .menu_title SPAN { FONT-WEIGHT: bold; LEFT: 8px; COLOR: #215dc6; POSITION: relative; TOP: 2px } .menu_title2 { } .menu_title2 SPAN { FONT-WEIGHT: bold; LEFT: 8px; COLOR: #428eff; POSITION: relative; TOP: 2px } </style>
<script language="javascript">
function menuChange(obj,menu)
{
if(menu.style.display=="")
{

menu.style.display="none";
}else{

menu.style.display="";
}
}
</script>
</HEAD>
<body bgcolor="#ffcc99">
<form id="form1" runat=server>
<table cellpadding="0" cellspacing="0" align="center" style=" 126px">
<tr>
<td height="42" valign="bottom" style=" 158px">
<a href="admin_main.htm" target="_top"></a>
<asp:Image ID="Image1" runat="server" ImageUrl="image/logo1.jpg" Width="126px" /></td>
</tr>
<tr height="25" style="color: #000000">
<td style=" 158px" background="image/bg_list.gif">
  <b><a href="index.aspx" target="_top"><span style="color: #ffffff"><strong>重登录</strong></span></a></b>
<a href="Close.aspx" target=_top><span style="color: #ffffff"><strong>退出登陆</strong></span></a>
</td>
</tr>
</table>
<br />
 
<table cellpadding="0" cellspacing="0" align="center" style=" 124px; color: #000000;">
<tr style="CURSOR:hand">
<td class="menu_title" onmouseover="this.className='menu_title2';"
onmouseout="this.className='menu_title';" onclick="menuChange(this,Div2);" style=" 157px; height: 27px;" background="image/bg_list.gif" bgcolor="#ff3399">
<span style="color:#ffffff">管理员信息</span>  </td>
</tr>
<tr>
<td style=" 157px;">
<div class="sec_menu" style="WIDTH:118px; DISPLAY:none" id="Div2">
<table cellpadding="0" cellspacing="0" align="center" width="118">
<tr height="20">
<td style="height: 20px; 118px;">
 <a href="adduser.aspx" target="right">管理员信息</a></td>
</tr>
</table>
</div>
</td>
</tr>
</table><table cellpadding="0" cellspacing="0" align="center" style=" 124px; color: #000000;">
<tr style="CURSOR:hand">
<td class="menu_title" onmouseover="this.className='menu_title2';"
onmouseout="this.className='menu_title';" onclick="menuChange(this,Div3);" style=" 157px; height: 27px;" background="image/bg_list.gif" bgcolor="#ff3399">
<span style="color:#ffffff">录入\查看数据</span></td>
</tr>
<tr>
<td style=" 157px;">
<div class="sec_menu" style="WIDTH:118px; DISPLAY:none" id="Div3">
<table cellpadding="0" cellspacing="0" align="center" width="118">
<tr height="20">
<td style="height: 20px; 118px;">
 <a href="addKTable.aspx" target="right">客房部</a></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" align="center" width="118">
<tr height="20">
<td style="height: 20px; 118px;">
 <a href="addMTable.aspx" target="right">餐饮部</a></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" align="center" width="118">
<tr height="20">
<td style="height: 20px; 118px;">
 <a href="addCTable.aspx" target="right">汽车队</a></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" align="center" width="118">
<tr height="20">
<td style="height: 20px; 118px;">
 <a href="addKt.aspx" target="right">康乐部</a></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" align="center" width="118">
<tr height="20">
<td style="height: 20px; 118px;">
 <a href="addOTable.aspx" target="right">材料补充</a></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" align="center" style=" 124px; color: #000000;">
<tr style="CURSOR:hand">
<td class="menu_title" onmouseover="this.className='menu_title2';"
onmouseout="this.className='menu_title';" onclick="menuChange(this,Div4);" style=" 157px; height: 27px;" background="image/bg_list.gif" bgcolor="#ff3399">
<span style="color: #ffffff">生成报表</span></td>
</tr>
<tr>
<td style=" 157px;">
<div class="sec_menu" style="WIDTH:118px; DISPLAY:none" id="Div4">
<table cellpadding="0" cellspacing="0" align="center" width="118">
<tr height="20">
<td style="height: 20px;">
 <a href="selectreports.aspx" target="right">报表管理</a></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<DIV></DIV><table cellpadding="0" cellspacing="0" align="center" style=" 124px; color: #000000;">
<tr style="CURSOR:hand">
<td class="menu_title" onmouseover="this.className='menu_title2';"
onmouseout="this.className='menu_title';" onclick="menuChange(this,Div1);" style=" 157px; height: 27px;" background="image/bg_list.gif" bgcolor="#ff3399">
<span style="color: #ffffff">帮助文档</span></td>
</tr>
<tr>
<td style=" 157px;">
<div class="sec_menu" style="WIDTH:118px; DISPLAY:none" id="Div1">
<table cellpadding="0" cellspacing="0" align="center" width="118">
<tr height="20">
<td style="height: 20px;">
 <a href="help.doc" target="right">查看帮助</a></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" align="center" style=" 124px">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" onmouseover="this.className='menu_title2';"
onmouseout="this.className='menu_title';" onclick="menuChange(this,menu6);" style=" 118px" background="image/bg_list.gif" bgcolor="#ff3399">
<span style="color:#ffffff">版权信息</span>
</td>
</tr>
<tr>
<td style=" 118px">
<div class="sec_menu" style="WIDTH:118px;DISPLAY:none" id="menu6">
<table cellpadding="0" cellspacing="0" align="center" width="118">
<tr height="20">
<td style="height: 20px"> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<br />
<br />
<br>
<br>
</form>
</body>
</HTML>

原文地址:https://www.cnblogs.com/zijinguang/p/1138166.html