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

📄 leftmenu.aspx

📁 一个完整的办公自动化源码,免费提供给大家下载
💻 ASPX
字号:
<!--提供最左边框架页中的主菜单-->
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<link rel="stylesheet" href="images/test.css" type="text/css">
<script language="JavaScript">
<!--
var w=200;
function closenavi() {
w-=10;
if (w>-10) {window.parent.testframeset.cols = ''+w+',*';repeat=setTimeout("closenavi()",10);}
else {clearTimeout(repeat);w=200;}
}



function initIt(){
        divCount = document.all.tags("DIV");
        for (i=0; i<divCount.length; i++) {
            obj = divCount(i);
            if (obj.className == "child" || obj.className == "child1") obj.style.display = "none";
        }
}

function expandIt(el) {

        obj = eval("page" + el);
        obj2 = eval("main" + el);
        if (obj.style.display == "none") {
            obj.style.display = "block";
			obj2.all.tags('img')[0].src='images/icon-folder1-open.gif';
			obj2.all.tags('img')[1].src='images/icon-folder-open.gif';
        }
        else {
            obj.style.display = "none";
			obj2.all.tags('img')[0].src='images/icon-folder1-close.gif';
			obj2.all.tags('img')[1].src='images/icon-folder-close.gif';
        }

}

onload = initIt;

var judge=0;
function expandall(o) {
if (judge==0) {divCount2 = document.all.tags("DIV");
        for (i=0; i<divCount2.length; i++) {
            obj2 = divCount2(i);
            if (obj2.className == "child" || obj.className == "child1" || obj2.style.display == "none") 
			{obj2.style.display = "block";}
			if (obj2.className == "menu")
			{obj2.all.tags('img')[0].src='images/icon-folder1-open.gif';
            obj2.all.tags('img')[1].src='images/icon-folder-open.gif';
            }
}

judge=1;
o.src='images/icon-closeall.gif';
o.alt='全部折叠';
}
else {divCount2 = document.all.tags("DIV");
        for (i=0; i<divCount2.length; i++) {
            obj2 = divCount2(i);
            if (obj2.className == "child" || obj.className == "child1" || obj2.style.display == "block") 
			{obj2.style.display = "none";}
			if (obj2.className == "menu")
			{obj2.all.tags('img')[0].src='images/icon-folder1-close.gif';
            obj2.all.tags('img')[1].src='images/icon-folder-close.gif';
            }
}

judge=0;
o.src='images/icon-expandall.gif';
o.alt='全部展开';
}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<base target="rtop">
</head>

<body  bgcolor="#FFFFFF" text="#000000" onselectstart="return false;">
<table width="112%" height="24" border="0" cellpadding="0" cellspacing="0" class="borderon" id=control>
<tr>
    <td width="123" height="20" style="padding-top: 3px"> <p align="center"><nobr></nobr><nobr><img src="pic/team.gif" width="16" height="16" align="absbottom">你好:<asp:label runat="server" ID="lgname" /></nobr></p>
      </td>
    <td width="20" align="center" valign="top" height="20">
      <img src="images/icon-expandall.gif" width="16" height="15" class="button" onclick="expandall(this)" vspace="2" alt="全部展开"></td>
<td width="39" align="center" valign="top" height="20"></td>
</tr>
</table>

<div id="navi" style="position:relative; width:100%; height:expression(body; left: 2px; top: 9px;"> 
  <table width="148" border="0" cellspacing="0" cellpadding="0">
    <tr> 
      <td valign="top" width="13"><img src="images/spacer.gif" width="12" height="3"></td>
    </tr>
    <tr> 
      <td valign="top" width="13">&nbsp;</td>
      <td valign="top" width="131"> <div id="main1" class="menu" onClick="expandIt('1'); return false"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td width="35"><img src="images/icon-folder1-close.gif" width="15" height="13"><img src="images/icon-folder-close.gif" width="16" height="15" align="absmiddle"></td>
              <td>公共信息</td>
            </tr>
          </table>
        </div>
        <div id="page1" class="child" style="padding-left:15px"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td height="20"><img src="pic/bar.gif" width="15" height="15"><img src="pic/images/Ico.gif" width="10" height="10"><a href="main.aspx" target="rbottom">最新资讯</a></td>
            </tr>
            <tr> 
              <td height="20"><img src="pic/bar.gif" width="15" height="15"><a href="zonghe/zmain.aspx" target="rbottom"><img src="pic/images/Ico.gif" width="10" height="10" border="0">综合信息</a></td>
            </tr>
          
          
            <tr> </tr>
          </table>
        </div>
       
        <div id="main3" class="menu" onClick="expandIt('3'); return false"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td width="35"><img src="images/icon-folder1-close.gif" width="15" height="13"><img src="images/icon-folder-close.gif" width="16" height="15" align="absmiddle"></td>
              <td>个人助理</td>
            </tr>
          </table>
        </div>
        <div id="page3" style="padding-left:15px" class="child"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td height="20"><img src="pic/bar.gif" width="15" height="15"><a href="viewfile.aspx" target="rbottom"><img src="pic/images/Ico.gif" width="10" height="10" border="0">文档收藏</a></td>
            </tr>
            <tr> 
              <td height="20"><img src="pic/bar.gif" width="15" height="15"><a href="notebook/noteshow.aspx" target="rbottom"><img src="pic/images/Ico.gif" width="10" height="10" border="0">记事提醒</a></td>
            </tr>
            <tr> 
              <td height="20"><img src="pic/bar.gif" width="15" height="15"><a href="tele/listtel.aspx" target="rbottom"><img src="pic/images/Ico.gif" width="10" height="10" border="0">通信录</a></td>
            </tr>
          </table>
        </div>
        <div id="main4" class="menu"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td width="35"><img src="images/icon-folder1-close.gif" width="15" height="13"><img src="images/icon-folder-close.gif" width="16" height="15" align="absmiddle"></td>
              <td><a href="webmaster/administrator.aspx" target="rbottom">系统管理</a></td>
            </tr>
          </table>
        </div>
        <div id="main5" class="menu"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td width="35"><img src="images/icon-folder1-close.gif" width="15" height="13"><img src="images/icon-folder-close.gif" width="16" height="15" align="absmiddle"></td>
              <td><a href=# target="_self" onclick="MM_openBrWindow('help.htm','','scrollbars=yes,width=567,height=450,left=1,top=1')">系统帮助</a></td>
            </tr>
          </table>
        </div>
        <div id="main6" class="menu"  return false"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td width="35"><img src="images/icon-folder1-close.gif" width="15" height="13"><img src="images/icon-folder-close.gif" width="16" height="15" align="absmiddle"></td>
              <td><a href="passout.aspx" target="_top">安全退出</a></td>
            </tr>
          </table>
        </div>
        <div id="page6" class="child" style="padding-left:15px"> </div></td>
    </tr>
    <tr> 
      <td valign="top" width="13">&nbsp;</td>
      <td valign="top" width="131">&nbsp;</td>
    </tr>
  </table>
</div>
</body>
</html>
<script language="vb" runat="server">
	sub page_load(s as object,e as eventargs)
		dim oinfo=session("lguinfo")
		lgname.text=oinfo(2)
	end sub
</script>

⌨️ 快捷键说明

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