⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 menu9.aspx

📁 ASP.NET的一些开发实例,有论坛管理系统等
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="Menu9.aspx.cs" AutoEventWireup="false" Inherits="WorkGroupManager.Menu9" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>菜单</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="CSS/ADCC.css" type="text/css" rel="stylesheet">
		<script language="javascript">
			var numTotal0 = 2;
			score0 = new Array(numTotal0);
			score0[1] = 'XTGL_';
			score0[2] = 'XMGL_';
			
			var numTotalXS =5;
			scoreXS = new Array(numTotalXS);
			scoreXS[1] = 'KBXS_JB_';
			scoreXS[2] = 'KBXS_JH_';
			scoreXS[3] = 'KBXS_RB_';
			scoreXS[4] = 'KBXS_BJ_';
			scoreXS[5] = 'KBXS_DD_';
			
			var numTotalXT = 1;
			scoreXT = new Array(numTotalXT);
			scoreXT[1] = 'KBXT_LC_';
			
			
			
			var numTotalKF = 1;
			scoreKF = new Array(numTotalKF);
			scoreKF[1] = 'KBKF_WX_';


			var numTotalKC = 3;
			scoreKC = new Array(numTotalKC);
			scoreKC[1] = 'KBKC_JC_';
			scoreKC[2] = 'KBKC_CRK_';
			scoreKC[3] = 'KBKC_PD_';

			var numTotalYS = 3;
			scoreYS = new Array(numTotalYS);
			scoreYS[1] = 'KBYS_JC_';
			scoreYS[2] = 'KBYS_DJ_';
			scoreYS[3] = 'KBYS_TS_';
			
			var numTotalYF = 3;
			scoreYF = new Array(numTotalYF);
			scoreYF[1] = 'KBYF_JC_';
			scoreYF[2] = 'KBYF_DJ_';
			scoreYF[3] = 'KBYF_TS_';
			
			var numTotalCXTJ = 3;
			scoreCXTJ = new Array(numTotalCXTJ);
			scoreCXTJ[1] = 'KBCXTJ_YW_';
			scoreCXTJ[2] = 'KBCXTJ_ZJ_';
			scoreCXTJ[3] = 'KBCXTJ_CW_';


			NS4 = (document.layers) ? 1 : 0;
			IE4 = (document.all) ? 1 : 0;
			ver4 = (NS4 || IE4) ? 1 : 0;

			if (ver4){
				with (document){
					write("<STYLE TYPE='text/css'>");       
					if (NS4){
						write(".parent{position:absolute; visibility:visible}");   
						write(".child{position:absolute; visibility:visible}");           
						write(".regular{position:absolute; visibility:visible}")
					}
					else{
						write(".child{display:none}")
					}
					write("</STYLE>");
				}
			}
			function getIndex(el){
				ind = null;   
				for (i=0; i<document.layers.length; i++){
					whichEl = document.layers[i];       
					if (whichEl.id == el){
						ind = i;            
						break;
					}
				}
				return ind;
			}
			function arrange(){
				nextY = document.layers[firstInd].pageY +document.layers[firstInd].document.height;  
				for (i=firstInd+1; i<document.layers.length; i++){
					whichEl = document.layers[i];       
					if (whichEl.visibility != "hide"){
						whichEl.pageY = nextY;        
						nextY += whichEl.document.height;
					}
				}
			}
			function initIt(){
				if (!ver4) return; 
				if (NS4){
					for (i=0; i<document.layers.length; i++){
						whichEl = document.layers[i];      
						if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide";
					}
					arrange();
				}
				else{
					divColl = document.all.tags("DIV");  
					for (i=0; i<divColl.length; i++){
						whichEl = divColl(i);      
						if (whichEl.className == "child") whichEl.style.display = "none";
					}
				}
			}
			function expandIt(el,numTotal,scores){
				if (!ver4) return;  
				if (IE4){
					whichEl1 = eval(el + "Child");	
					for(i=1;i<=numTotal;i++){
						whichEl = eval(scores[i] + "Child");
						if(whichEl!=whichEl1){	
							whichEl.style.display = "none";	
						}	
					}
					whichEl1 = eval(el + "Child"); 
					if (whichEl1.style.display == "none"){
						whichEl1.style.display = "block";
						}
					else{
						whichEl1.style.display = "none";
						}
				}
				else{
					whichEl = eval("document." + el + "Child");	
					for(i=1;i<=numTotal;i++){	
						whichEl = eval("document." + scores[i] + "Child");	
						if(whichEl!=whichEl1){	
							whichEl.visibility = "hide";	
						}	
					}
					if (whichEl.visibility == "hide"){
						whichEl.visibility = "show";
					}
					else{whichEl.visibility = "hide";}
					arrange();
				}
			}
			onload = initIt;
		</script>
	</HEAD>
	<body bgcolor="#336799" text="#000000" leftmargin="2" topmargin="2" MS_POSITIONING="FlowLayout">
		<font color="#0000e1">
			<form id="Menu1" method="post" runat="server">
				<table width="140" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td>
							<!-------------------------------------------------重新登录------------------------------------------------------------->
							<div>
								<table width="140" height="22" background="pics/menu01.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="default.aspx" Target="_parent">重新登录</a></td>
									</tr>
								</table>
							</div>
							<!-----------------------------------------------系统管理模块--------------------------------------------------------->
							<div id='XTGL_Parent' class='parent'>
								<table width="140" height="22" background="pics/menu01.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="#" onClick="expandIt('XTGL_',numTotal0,score0);return false">系统管理</a></td>
									</tr>
								</table>
							</div>
							<div id='XTGL_Child' class='child'>
								<table width="140" height="22" background="pics/menu03.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="user/UserView.aspx" Target="main">用户管理</a></td>
									</tr>
								</table>
							</div>
							<!-----------------------------------------------任务管理模块--------------------------------------------------------->
							<div id='XMGL_Parent' class='parent'>
								<table width="140" height="22" background="pics/menu01.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="#" onClick="expandIt('XMGL_',numTotal0,score0);return false">任务管理</a></td>
									</tr>
								</table>
							</div>
							<div id='XMGL_Child' class='child'>
								<table width="140" height="22" background="pics/menu03.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="task/TaskView.aspx" Target="main">任务空间</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			</form>
		</font>
	</body>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -