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

📄 myfoldmenu.asp

📁 学生档案与成绩管理(1)学生档案管理:记录每个学生的档案信息
💻 ASP
字号:
<!-- #include file = "../include/asphead.asp" -->
<link href="../include/main.css" rel="stylesheet" type="text/css">
<script ID="clientEventHandlersJS" LANGUAGE="javascript">
<!--
function GoToAnother(MenuTo) {
	var target;
	target="mainframe.asp?MenuTo="+MenuTo;
	parent.navigate(target);
}

//-->
</script>
<%

	dim MenuOn
	MenuOn=Request.Cookies("MyFold")("MenuOn")

	dim MenuCount,ID(4),Caption(4),Desc(4),MenuWidth
	ID(0)="info"
	ID(1)="memo"
	ID(2)="msg"
	ID(3)="log"
	Caption(0)="账号信息"
	Caption(1)="备忘事项"
	Caption(2)="短信通知"
	Caption(3)="操作日志"
	Desc(0)="账号信息"
	Desc(1)="备忘事项"
	Desc(2)="短信通知"
	Desc(3)="操作日志"
	MenuCount=4
	MenuWidth=95
%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
	</head>
	<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
		<table width="100%" border=0 CELLSPACING="0" CELLPADDING="0">
			<tr>
				<td height=1 rowspan="3" width="30%" valign="bottom"><IMG height=1 src="../images/promptline.gif" width="100%"></td>
				<%
					dim i
					for i=1 to MenuCount
						if MenuOn=ID(i-1) then
				%>
							<td height=1 rowspan="3"><IMG height=22 src="../images/lefton.gif" width=11></td>
							<td height=1 valign="center"><IMG height=1 src="../images/promptline.gif" width=<%=MenuWidth%>></td>
							<td height=1 rowspan="3"><IMG height=22 src="../images/righton.gif" width=11></td>
				<%
						else
				%>
							<td height=1 rowspan="3"><IMG height=22 src="../images/leftoff.gif" width=11></td>
							<td height=1 valign="center"><IMG height=1 src="../images/promptline.gif" width=<%=MenuWidth%>></td>
							<td height=1 rowspan="3"><IMG height=22 src="../images/rightoff.gif" width=11></td>
				<%
						end if
					next
				%>
				<td height=1 rowspan="3" width="70%" valign="bottom"><IMG height=1 src="../images/promptline.gif" width="100%"></td>
			</tr>
			<tr>
				<%
					for i=1 to MenuCount
						if MenuOn=ID(i-1) then
				%>
							<td height=20 valign=bottom><%=Caption(i-1)%></td>
				<%
						else
				%>
							<td height=20 valign=bottom bgcolor="#E0E0E0" style="cursor:hand" onclick="return GoToAnother('<%=ID(i-1)%>')"><%=Caption(i-1)%></td>
				<%
						end if
					next
				%>
			</tr>
			<tr>
				<%
					for i=1 to MenuCount
						if MenuOn=ID(i-1) then
				%>
							<td></td>
				<%
						else
				%>
							<td height=1 valign="bottom"><IMG height=1 src="../images/promptline.gif" width=<%=MenuWidth%>></td>
				<%
						end if
					next
				%>
			</tr>
		</table>
	</body>                                                                                                           
</html>

⌨️ 快捷键说明

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