常见管理菜单(1)


<html>
<head>
<title>管理菜单</title>
<meta http-equiv='Content-Type' content='text/html; charset=gb2312'>
<script language='javascript'>
var headHeight = 25;var bodyHeight = 150;var objcount = 8;var step = 25;var moving = false;
function showme(obj1, obj2)
{
    if (moving)
        return;
    moving = true;
    for(i=0;i<document.all.tags('td').length;i++)
        if (document.all.tags('td')[i].className.indexOf('headtd') == 0)
            document.all.tags('td')[i].className = 'headtd1';
    obj2.className = 'headtd2';
    moveme(obj1);
}
function moveme(obj)
{
    idnumber = parseInt(obj.id.substr(4));
    objtop = headHeight * (idnumber - 1);
    objbuttom = bodyHeight + headHeight * (idnumber - 2);
    currenttop = parseInt(obj.style.top);
    if (currenttop >= objbuttom)
    {
        countid = 1;
        for(i=0;i<document.all.tags('div').length;i++)
            if (document.all.tags('div')[i].id == 'item'+countid+'body')
            {
                obj = document.all.tags('div')[i];
                objtop = headHeight * (countid - 1);
                if (countid == idnumber)
                {
                    moveup(obj,objtop,false);
                    break;
                }
                else
                    moveup(obj,objtop,true);
                countid++;
            }
    }
    else if ((currenttop <= objtop) && (idnumber < objcount))
    {
        idnumber++;
        countid = objcount;
        for(i=document.all.tags('div').length-1;i>=0;i--)
            if (document.all.tags('div')[i].id == 'item'+countid+'body')
            {
                obj = document.all.tags('div')[i];
                objbuttom = bodyHeight + headHeight * (countid - 2);
                if (countid == idnumber)
                {
                    movedown(obj,objbuttom,false);
                    break;
                }
                else
                    movedown(obj,objbuttom,true);
                countid--;
            }
    }
}
function moveup(obj,objtop,ismove)
{
    currenttop = parseInt(obj.style.top);
    if (currenttop > objtop)
    {
        obj.style.top = currenttop - step;
        setTimeout('moveup('+obj.id+','+objtop+','+ismove+')',1)
        return;
    }
    moving = ismove;
}
function movedown(obj,objbuttom,ismove)
{
    currenttop = parseInt(obj.style.top);
    if (currenttop < objbuttom)
    {
        obj.style.top = currenttop + step;
        setTimeout('movedown('+obj.id+','+objbuttom+','+ismove+')',1)
        return;
    }
    moving = ismove;
}
</script>
<style type='text/css'>
A{TEXT-DECORATION: none}
A:link {COLOR: #222222; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:visited {COLOR: #222222; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:active {FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:hover {BORDER-BOTTOM: 1px dotted; BORDER-LEFT-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px; BORDER-TOP-WIDTH: 1px; COLOR: #ff0000; TEXT-DECORATION: none}
.headtd1 {  background: #DDDDD6; border: 2px outset; border-color: #FFFFEE #336699 #336699 #E8E8E8; cursor: hand; font-size: 9pt}
.headtd2 {  background: #ddddcc; border: 2px outset; border-color: #ffE8BB #7777FF #7777FF #FFFFFF; cursor: hand; font-size: 10pt; color:#ff0000;}
.bodytd  {  background: #ccd6dd; border: 2px outset; border-color: #8899cc #7777FF #7777FF #B0D8FF; font-size: 10pt; line-height: 20px;}
.style3 {color: #333300}
.style4 {
 color: #FFFFFF;
 font-weight: bold;
}
.style9 {color: #0000FF}
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; οnresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body bgcolor='#8899cc' text='#000000'>
<div id='mainboard' style='position:absolute; left:0px; top:50px; width:120px; height:325px; z-index:13; overflow: hidden; background: #99aadd;'>

 <div id='item1body' style='position:absolute; left:0; top:0; width:120px; height:150px; z-index:2; overflow: hidden'>
 <table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'>
 <tr><td id='item1head' height='23' class='headtd2' οnclick='showme(item1body,this)' align='center'>基 本 信 息</td></tr>
 <tr>
   <td align='center' class='bodytd'>
<a href="../admin.asp" target=main>网站信息</a><br>
<a href="../aadmin.asp?n=1" target=main>广告管理</a><br>
<a href="lanmu.asp" target=main>栏目设置</a><br>
<a href="../guestbook.asp" target=main>留言管理</a><br>
<a href="linkvip.asp" target=main>VIP管理</a><br>
</td></tr></table></div>

<div id='item2body' style='position:absolute; left:0; top:150; width:120px; height:150px; z-index:3; overflow: hidden'>
<table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr>
<td id='item2head' height='23' class='headtd1' οnclick='showme(item2body,this)' align='center'>栏 目 管 理</td></tr><tr>
<td class='bodytd' align='center'>
<a href="web.asp?n=1" target=main>合作站点</a><br>
<a href="web.asp?n=3" target=main>热门站点</a><br>
<a href="web.asp?n=2" target=main>实用工具</a><br>
<a href="web.asp?n=4" target=main>导航设置</a><br>
</td></tr></table></div>

<div id='item3body' style='position:absolute; left:0; top:175; width:120px; height:150px; z-index:4; overflow: hidden'>
<table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'>
<tr><td id='item3head' height='23' class='headtd1' οnclick='showme(item3body,this)' align='center'>网 址 管 理</td></tr>
<tr><td class='bodytd' align='center'>
<a href="newwz.asp" target=main>新增网址</a><br>
<a href="errwz.asp" target=main>错误网址</a><br>
<a href="shenwz.asp" target=main>审核网址</a><br>
<a href="wz.asp" target=main>网址管理</a><br>
</td></tr></table></div>

<div id='item4body' style='position:absolute; left:0; top:200; width:120px; height:150px; z-index:5; overflow: hidden'>
<table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr>
<td id='item4head' height='23' class='headtd1' οnclick='showme(item4body,this)' align='center'>友 情 管 理</td></tr><tr><td class='bodytd' align='center'>
<a href="newlink.asp" target=main>新增链接</a><br>
<a href="errlink.asp" target=main>错误链接</a><br>
<a href="shenlink.asp" target=main>审核链接</a><br>
<a href="link.asp" target=main>链接管理</a><br>
</td></tr></table></div>

<div id='item5body' style='position:absolute; left:0; top:225; width:120px; height:150px; z-index:6; overflow: hidden'>
<table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr>
<td id='item5head' height='23' class='headtd1' οnclick='showme(item5body,this)' align='center'> 分 类 管 理</td></tr><tr><td class='bodytd' align='center'>
<a href="newfl.asp" target=main>新增分类</a><br>
<a href="fl.asp" target=main>分类管理</a><br>
<a href="shenfl.asp" target=main>审核分类</a><br>
</td></tr></table></div>

<div id='item6body' style='position:absolute; left:0; top:250; width:120px; height:150px; z-index:7; overflow: hidden'>
<table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr>
<td id='item6head' height='23' class='headtd1' οnclick='showme(item6body,this)' align='center'> 统 计 管 理</td></tr><tr>
<td class='bodytd' align='center'>
<a href="../tongji/index.asp" target=main>查看数据</a><br>
<a href="../tongji/adminadmin.asp" target=main>基本设置</a><br>
<a href="../tongji/admin.asp" target=main>数据管理</a><br>
</td></tr></table></div>

<div id='item7body' style='position:absolute; left:0; top:275; width:120px; height:150px; z-index:8; overflow: hidden'>
<table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr>
<td id='item7head' height='23' class='headtd1' οnclick='showme(item7body,this)' align='center'>处 理 数 据</td></tr>
<tr><td class='bodytd' align='center'>
<a href="admin_SERVER.asp" target=main>系统信息</a><br>
<a href="admin_backupdata.asp" target=main>备份数据</a><br>
<a href="admin_Redata.asp" target=main>恢复数据</a><br>
<a href="admin_Compressdata.asp" target=main>压缩数据</a><br>
<a href="admin_sql.asp" target=main>批量处理</a><br>
</td></tr></table></div>

<div id='item8body' style='position:absolute; left:0; top:300; width:120px; height:150px; z-index:9; overflow: hidden'><table width='100%' border='0' height='100%' cellpadding='2' cellspacing='0'><tr><td id='item8head' height='23' class='headtd1' οnclick='showme(item8body,this)' align='center'>疑 难 求 助</td></tr><tr>
  <td class='bodytd' align='center'>
<a href="http://xs20.cn" target=main>笑神小舍</a><br>
<a href="http://happy.xs20.cn" target=main>开心网址</a><br>
<a href="http://bbs.xs20.cn" target=main>笑神论坛</a><br>
<a href="http://me.xs20.cn" target=main>笑神主页</a><br>
</td></tr></table></div>
</div>
<div id="Layer1" style="position:absolute; width:120px; height:60px; z-index:12; left: 0; top: 5; visibility: visible;">
  <div align="center" class="style3"><span class="style4">开心网址<br>
    管理中心    </span><br>
    <br>
  </div>
</div>
<p>&nbsp;</p>
</body></html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值