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

📄 admin_left.asp

📁 MisCMS源码
💻 ASP
字号:
<!--#include file="../inc/MyFunction.Asp"-->
<% call master %>
<style type="text/css">
.titleStyle{
	background-color:#006699;
	color:#FFFFFF;
	border-top:1px solid #FFFFFF;
	font-size:9pt;
	cursor:hand;
	font-weight: bold;
}
.contentStyle{
background-color:#E8F1FF;color:blue;font-size:9pt;
}
a{
color:black;
}
td{
FONT-SIZE: 12px;COLOR: #000000; FONT-FAMILY: verdana; line-height:14pt
}
a:link, a:active, a:visited{TEXT-DECORATION:none ;Color:#0099CC}
A:hover{Color:#0099CC}
body {
	background-color: #ffffff;
}
body,td,th {
	color: #0099CC;
}
#Layer1 {
	position:absolute;
	width:150px;
	height:90px;
	z-index:1;
	left:0;
}
</style>

<script language="JavaScript">
<!--
 var layerTop=110;       //菜单顶边距
 var layerLeft=5;      //菜单左边距
 var layerWidth=150;    //菜单总宽
 var titleHeight=20;    //标题栏高度
 var contentHeight=140; //内容区高度
 var stepNo=10;         //移动步数,数值越大移动越慢

 var itemNo=0;runtimes=0;
 document.write('<div id="Layer1"><img src="../images/mis8ad.gif" width="160" height="90"></div>');
 document.write('<span id=itemsLayer style="position:absolute;overflow:hidden;border:1px solid #6B8FC8;left:'+layerLeft+';top:'+layerTop+';width:'+layerWidth+';">');

 function addItem(itemTitle,itemContent){
   itemHTML='<div id=item'+itemNo+' itemIndex='+itemNo+' style="position:relative;left:0;top:'+(-contentHeight*itemNo)+';width:'+layerWidth+';"><table width=100% cellspacing="0" cellpadding="0">'+
       '<tr><td height='+titleHeight+' onclick=changeItem('+itemNo+') class="titleStyle" align=center>'+itemTitle+'</td></tr>'+
       '<tr><td height='+contentHeight+' class="contentStyle">'+itemContent+'</td></tr></table></div>';
   document.write(itemHTML);
   itemNo++;
 }
    //添加菜单标题和内容,可任意多项,注意格式:


 addItem('迷失吧管理','<div align=center><a href=Admin_sys.asp target=main>网 站 信 息</a><br><a href=admin_wztype.asp target="main">分 类 管 理</a><BR><a href=admin_note.asp target="main">公 告 管 理</a><BR><a href=admin_link.asp target="main">友 情 链 接</a><BR><a href=admin_guest.asp target="main">留言</a>&nbsp;|&nbsp;<a href=admin_pl.asp target="main">评论</a><BR><a href=admin_wztxt.asp target="main">文章</a>&nbsp;|&nbsp;<a href=admin_wztxt.asp?l=add target="main">添加</a><BR><a href=admin_mztxt.asp target="main">名作</a>&nbsp;|&nbsp;<a href=admin_mztxt.asp?l=add target="main">添加</a></div>');


 addItem('其它管理','<center><a href=admin_zurl.asp?l=type target="main">站长网址分类</a><BR><a href=admin_zurl.asp target="main">网址</a>&nbsp;|&nbsp;<a href=admin_zurl.asp?l=add target="main">添加</a><BR><a href=Admin_favuser.asp target="main">收藏用户管理</a></center>');

 addItem('退出系统','<center><a href="admin_loginout.asp" target="_top">退 出 系 统</a> <BR></center>');
 

 document.write('</span>')
 document.all.itemsLayer.style.height=itemNo*titleHeight+contentHeight;

 toItemIndex=itemNo-1;onItemIndex=itemNo-1;

 function changeItem(clickItemIndex){
   toItemIndex=clickItemIndex;
   if(toItemIndex-onItemIndex>0) moveUp(); else moveDown();
   runtimes++;
   if(runtimes>=stepNo){
     onItemIndex=toItemIndex;
     runtimes=0;}
   else
     setTimeout("changeItem(toItemIndex)",10);
 }

 function moveUp(){
   for(i=onItemIndex+1;i<=toItemIndex;i++)
     eval('document.all.item'+i+'.style.top=parseInt(document.all.item'+i+'.style.top)-contentHeight/stepNo;');
 }

 function moveDown(){
   for(i=onItemIndex;i>toItemIndex;i--)
     eval('document.all.item'+i+'.style.top=parseInt(document.all.item'+i+'.style.top)+contentHeight/stepNo;');
 }
 changeItem(0);
//-->
</script>

⌨️ 快捷键说明

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