menu9.aspx

来自「ASP.NET的一些开发实例,有论坛管理系统等」· ASPX 代码 · 共 186 行

ASPX
186
字号
<%@ Page language="c#" Codebehind="Menu9.aspx.cs" AutoEventWireup="false" Inherits="PLP.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/DRP.css" type="text/css" rel="stylesheet">
		<script language="javascript">

			var numTotal0 = 2;
			score0 = new Array(numTotal0);
			score0[1] = 'KBZT_';
			score0[2] = 'KBZZ_';
			
			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='KBZT_Parent' class='parent'>
								<table width="140" height="22" background="pics/menu01.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="#" onClick="expandIt('KBZT_',numTotal0,score0);return false">账套管理</a></td>
									</tr>
								</table>
							</div>
							<div id='KBZT_Child' class='child'>
								<table width="140" height="22" background="pics/menu03.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="CWZZ/KMSZ/KMSZ_VIEW.aspx" Target="main">科目设置管理</a></td>
									</tr>
								</table>
								<table width="140" height="22" background="pics/menu03.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="CWZZ/KJND/KJND_VIEW.aspx" Target="main">会计年度管理</a></td>
									</tr>
								</table>
								<table width="140" height="22" background="pics/menu03.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="CWZZ/KJQJ/KJQJ_VIEW.aspx" Target="main">会计期间管理</a></td>
									</tr>
								</table>
								<table width="140" height="22" background="pics/menu03.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="CWZZ/KJKM/KJKM_VIEW.aspx" Target="main">会计科目管理</a></td>
									</tr>
								</table>
								<table width="140" height="22" background="pics/menu03.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="CWZZ/QCKMYE/QCKMYE_VIEW.aspx" Target="main">期初科目余额管理</a></td>
									</tr>
								</table>
							</div>
							<!------------------------------------------总账管理------------------------------------------------------------>
							<div id='KBZZ_Parent' class='parent'>
								<table width="140" height="22" background="pics/menu01.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="#" onClick="expandIt('KBZZ_',numTotal0,score0);return false">总账管理</a></td>
									</tr>
								</table>
							</div>
							<div id='KBZZ_Child' class='child'>
								<table width="140" height="22" background="pics/menu03.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="CWZZ/PZGL/PZ_VIEW.aspx" Target="main">凭证管理</a></td>
									</tr>
								</table>
								<table width="140" height="22" background="pics/menu03.jpg">
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;<a class="white1" href="CWZZ/PZGL/PZ_SH.aspx" Target="main">凭证审核</a></td>
									</tr>
								</table>
							</div>
						</td>
					</tr>
				</table>
			</form>
		</font>
	</body>
</HTML>

⌨️ 快捷键说明

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