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

📄 leftmenu.asp

📁 这个也是一个功能强大的企业整站的ASP源代码
💻 ASP
字号:
<!--#include file="SystemMenu.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
.menutitle{
cursor:pointer;
margin-bottom: 5px;
background-color:#ECECFF;
color:#000000;
width:140px;
padding:2px;
text-align:center;
font-weight:bold;
/*/*/border:1px solid #000000;/* */
}

.submenu{
line-height: 21px;
margin-bottom: 0.5em;
}
</style>
<script type="text/javascript">
if (document.getElementById){ //DynamicDrive.com change
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}

function SwitchMenu(obj){
	if(document.getElementById){
	var el = document.getElementById(obj);
	var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
		if(el.style.display != "block"){ //DynamicDrive.com change
			for (var i=0; i<ar.length; i++){
				if (ar[i].className=="submenu") //DynamicDrive.com change
				ar[i].style.display = "none";
			}
			el.style.display = "block";
		}else{
			el.style.display = "none";
		}
	}
}

</script>
<SCRIPT language=JScript>
var mx,my,out=1,s=8,flag=0;
function msmove(){
mx=window.event.x;my=window.event.y;
cy=document.body.clientHeight;
if(my>=20&&my<=cy-20)out=1;
else{if(out==1){out=0;setTimeout('domove()',50);}}
}
function msout(){out=1;}
function domove(){
	if (out==0){
		cy=document.body.clientHeight;
		if (my>0&&my<20)setTimeout('window.scrollBy(0,-'+s+')',0);
		if (my>cy-20&&my<cy)setTimeout('window.scrollBy(0,'+s+')',0);
		setTimeout('domove()',50);
		}
}

</SCRIPT>
<link href="Images/AdminCss.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="0" topmargin="0" onmouseout=msout() onmouseover=msmove()>
<table width="192" height="100%" border="0" cellpadding="0" cellspacing="0" class="HeaderTdStyle">
  <tr> 
    <td height="98" align="center" valign="top" background="Images/LeftMenuTop.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="75" colspan="2">&nbsp;</td>
        </tr>
        <tr> 
          <td width="3%" height="21">&nbsp;</td>
          <td width="97%"><font color="#333333"><img src="Images/tm.gif" width="10" height="10">&nbsp;</font><strong>当前用户:</strong><%=request.Cookies("AdminUser")%> </td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td valign="top" background="Images/LeftMenuBg.gif"><div id="masterdiv">
	    <table width="96%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height="1" colspan="3" bgcolor="CECFCE"></td>
          </tr>
          <tr bgcolor="614800"> 
            <td height="22" colspan="3">  <a href="temp.asp" target="right"><font color="#FFFFFF"><strong>管理总界面</strong></font></a><strong> 
              <font color="#FFFFFF">|</font> <a href="ExitSystem.asp" target="_parent"><font color="#FFFFFF">退出</font></a></strong></td>
          </tr>
          <tr> 
            <td height="1" colspan="3" bgcolor="CECFCE"></td>
          </tr>
          <tr> 
            <td height="1" colspan="3" bgcolor="#FFFFFF"></td>
          </tr>
		  <%for i=0 to ubound(ManageMenu,1)
  		     if isempty(ManageMenu(i,10)) then exit for
		  %>
          <tr> 
            <td width="6%" rowspan="3" bgcolor="614800">&nbsp;</td>
            <td width="94%" height="2" colspan="2"></td>
          </tr>
          <tr> 
            <td colspan="2" >&nbsp;<%=ManageMenu(i,10)%><br> 
              <span class="submenu" id="sub<%=i%>">
			  <%for j=11 to ubound(ManageMenu,2)
			      if isempty(ManageMenu(i,j)) then exit for
				  AdminFlag=cstr(i&j)
				  if not (instr(request.Cookies("AdminPopFlag"),AdminFlag)=0) then response.write "- "&ManageMenu(i,j)&"<br>"				  
               next%>
              </span> 
			</td>
          </tr>
          <tr> 
            <td height="2" colspan="2"></td>
          </tr>
          <tr> 
            <td height="1" colspan="3" bgcolor="CECFCE"></td>
          </tr>
          <tr> 
            <td height="1" colspan="3" bgcolor="#FFFFFF"></td>
          </tr>
		 <%next%>
        </table>
      </div>
    </td>
  </tr>
  <tr>
    <td height="202" align="center" valign="top"><img src="Images/LeftMenuBottom.jpg" width="192" height="202"></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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