📄 controlmenue.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ControlMenue.ascx.cs" Inherits="Com.SMS.SMSUI.ControlMenue" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<script language="javascript">
function treeMenu(n,isLast) //n为整型,表示第几个项,从0开始数;isLast为布尔型,如果是最后一项则为true/1,否则为false/0。
{
var menus=document.getElementById("treeMenu").rows[1].getElementsByTagName("TABLE")[0].rows;
var isOpen=(menus[n*2+1].getElementsByTagName("TABLE")[0].style.display=="block");
menus[n*2+1].getElementsByTagName("TABLE")[0].style.display=(isOpen?"none":"block");
if(isOpen)
{
menus[n*2].cells[0].getElementsByTagName("IMG")[1].src="Images/treeicon_fold.gif";
if(isLast)
menus[n*2].cells[0].getElementsByTagName("IMG")[0].src="Images/treeicon_show2.gif";
else
menus[n*2].cells[0].getElementsByTagName("IMG")[0].src="Images/treeicon_show.gif";
}
else
{
menus[n*2].cells[0].getElementsByTagName("IMG")[1].src="Images/treeicon_open.gif";
if(isLast)
menus[n*2].cells[0].getElementsByTagName("IMG")[0].src="Images/treeicon_hide2.gif";
else
menus[n*2].cells[0].getElementsByTagName("IMG")[0].src="Images/treeicon_hide.gif";
}
}
</script>
<table cellpadding="0" cellspacing="0" bordercolor="#00ffff" id="treeMenu">
<tr>
<td><img src="Images/treeicon_open.gif" width="16" height="16"><span><strong>控制菜单</strong></span></td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" ID="Table1">
<tr onClick="treeMenu(0,0)">
<td width="115" onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_show.gif" width="16" height="17"><img src="Images/treeicon_fold.gif" width="16" height="16"><span>短信管理</span></td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" style="DISPLAY:none" ID="Table2">
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="MessageSend.aspx"><span>发送邮件</span></a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="MessageSendOut.aspx"><span>已发邮件</span></a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="MessagesRecive.aspx"><span>已收邮件</span></a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="MessageNotRead.aspx"><span>未读邮件</span></a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="MessageRecycleBin.aspx"><span>回收站</span></a></td>
</tr>
</table>
</td>
</tr>
<tr onClick="treeMenu(1,0)">
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_show.gif" width="16" height="17"><img src="Images/treeicon_fold.gif" width="16" height="16"><span>地址本管理</span></td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" style="DISPLAY:none" ID="Table3">
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="AddressBookNewl.aspx">新地址本</a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="AddressBookUpdate.aspx">更新信息</a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="AddressBookMine.aspx">我的地址本</a></td>
</tr>
</table>
</td>
</tr>
<tr onClick="treeMenu(2,1)">
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_show.gif" width="16" height="17"><img src="Images/treeicon_fold.gif" width="16" height="16">聊天室</td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" style="DISPLAY:none" ID="Table4">
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="ChatRoom.aspx">进入聊天</a></td>
</tr>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
<tr onClick="treeMenu(3,2)">
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_show2.gif" width="16" height="17"><img src="Images/treeicon_fold.gif" width="16" height="16">个人相册</td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" style="DISPLAY:none" ID="Table5">
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="AlbumMine.aspx"><span>我的相册</span></a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="AlbumAdd.aspx">创建相册</a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="PhotosAdd.aspx">上传照片</a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="AlbumIndex.aspx">看看照片</a></td>
</tr>
</table>
</td>
</tr>
<tr onClick="treeMenu(4,3)">
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_show2.gif" width="16" height="17"><img src="Images/treeicon_fold.gif" width="16" height="16">新闻公告</td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" style="DISPLAY:none" ID="Table5">
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="NewsAdd.aspx">发布新闻</a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="NewsManager.aspx">管理新闻</a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="AffichesAdd.aspx">发布公告</a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_line.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="AffichesManager.aspx">管理公告</a></td>
</tr>
</table>
</td>
</tr>
<tr onClick="treeMenu(5,4)">
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_show2.gif" width="16" height="17"><img src="Images/treeicon_fold.gif" width="16" height="16">个人信息</td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" style="DISPLAY:none" ID="Table6">
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_none.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="UpdateMyInfo.aspx">修改信息</a></td>
</tr>
</table>
</td>
</tr>
<tr onClick="treeMenu(6,5)">
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_show2.gif" width="16" height="17"><img src="Images/treeicon_fold.gif" width="16" height="16">系统管理</td>
</tr>
<tr>
<td>
<table cellpadding="0" cellspacing="0" style="DISPLAY:none" ID="Table7">
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_none.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="UsersAdd.aspx">增加员工</a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_none.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="UserManager.aspx">管理员工</a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_none.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16"><a href="Index.aspx">回到首页</a></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td onMouseOver="this.className='over';" onMouseOut="this.className='';"><img src="Images/treeicon_none.gif" width="16" height="17"><img src="Images/treeicon_tline.gif" width="16" height="17"><img src="Images/treeicon_file.gif" width="16" height="16">
<asp:LinkButton id="lbLogin" runat="server">注销登录</asp:LinkButton></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -