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

📄 menu.aspx

📁 高校 学籍管理、成绩、收费、网上教学
💻 ASPX
📖 第 1 页 / 共 2 页
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Menu.aspx.cs" Inherits="Admin_Menu" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<HTML><HEAD><TITLE>Outlook动态数据菜单</TITLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE type=text/css>A:link {
	COLOR: #000000; TEXT-DECORATION: none
}
A:visited {
	COLOR: #000000; TEXT-DECORATION: none
}
A:active {
	COLOR: #ff80c0; TEXT-DECORATION: none
}
A:hover {
	COLOR: #ff0000; TEXT-DECORATION: none
}
.font {
	FONT-SIZE: 9pt; LINE-HEIGHT: 9pt
}
A {
	BACKGROUND-IMAGE: url(images/backg.GIF); TEXT-TRANSFORM: none; TEXT-DECORATION: none
}
A:hover {
	TEXT-DECORATION: underline
}
BODY {
	FONT-SIZE: 9pt; FONT-FAMILY: 宋体
}
TD {
	FONT-SIZE: 9pt; FONT-FAMILY: 宋体
}
.c2 {
	FONT-SIZE: 9pt; FONT-FAMILY: 宋体
}
.navPoint {
	FONT-SIZE: 9pt; CURSOR: hand; COLOR: white; FONT-FAMILY: Webdings
}
P {
	FONT-SIZE: 9pt
}
.smallFont {
	FONT-SIZE: 10.5pt; FONT-FAMILY: "宋体"; TEXT-DECORATION: none
}
</STYLE>
</HEAD>
<BODY bgProperties=fixed bgColor=#004080>
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD vAlign=top align=middle width="99%">
      <TABLE id=mnuList cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD>
            <SCRIPT language=JAVASCRIPT>
	OB_Top=15;	//菜单距离页顶端的高度
	OB_Left=10;	//菜单距离页左端的高度								
	OB_Margin=10;//子项菜单距离菜单顶端的距离							
	OB_Width=96;//整个菜单的宽度
//	OB_Height=350;							
	OB_Height=document.body.clientHeight-30; //菜单距离页底部的高度							
	OB_SlideSpeed=1.5; //菜单滑动速度						
	OB_BackgroundColor="#C0C0C0"; //菜单内背景色
//	OB_BackgroundColor="images/backg.gif";
	OB_ItemsSpacing=25;		//菜单内子项的间隔距离
	OB_BorderWidth=3;	//菜单边界距离
	OB_BorderStyle="ridge";	//菜单边界样式
//	OB_BorderColor="#dddddd";
	OB_BorderColor="#004080";//菜单边界颜色
// 	OB_BorderColor="images/backg.gif";
	OB_IconsWidth=26;		//子项图标宽度
	OB_IconsHeight=26;		//子项图标高度
	OB_ButtonFontFamily="宋体";//按钮文字字体
	OB_ButtonFontSize=9;		//按钮文字大小			
	OB_ButtonFontColor="black";	//按钮文字颜色
	OB_ButtonHeight=25;	//按钮高度				
	OB_LabelFontFamily="宋体";//子项文字字体
	OB_LabelFontSize=9;		//子项文字大小
	OB_LabelFontColor="black";//子项文字颜色	
	OB_LabelMargin=3;		//子项文字距离图标数值
	OB_UpArrow="images/a.gif";//上移动菜单图标
	OB_DownArrow="images/b.gif";//下移动菜单图标
	OB_ArrowWidth=10;		//移动菜单图标宽度
	OB_ArrowHeight=12;		//移动菜单图标高度
	OB_ArrowSlideSpeed=10;	//移动菜单上下滑动速度
				</SCRIPT>

            <SCRIPT language=JAVASCRIPT>
if (document.all){

 

OutBarFolder0=new Array(
"文本类型",

"images/%D0%B4%B8%E5.GIF","TXT","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","DOC","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","WPS","./sendfile/filefirst.asp","parent.Cont");
 

OutBarFolder1=new Array(
"图像类型",

"images/%D0%B4%B8%E5.GIF","JPG","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","GIF","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","PNG","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","BMP","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","TIFF","./sendfile/filefirst.asp","parent.Cont");
 

OutBarFolder2=new Array(
"影像类型",

"images/%D0%B4%B8%E5.GIF","MOV","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","MPG","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","RMVB","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","AVI","./sendfile/filefirst.asp","parent.Cont");
 

OutBarFolder3=new Array(
"音乐类型",

"images/%D0%B4%B8%E5.GIF","MP3","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","WAV","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","MID","./sendfile/filefirst.asp","parent.Cont");
 

OutBarFolder4=new Array(
"网络类型",

"images/%D0%B4%B8%E5.GIF","HTM","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","ASP","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","JSP","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","PHP","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","CGI","./sendfile/filefirst.asp","parent.Cont");
 

OutBarFolder5=new Array(
"压缩类型",

"images/%D0%B4%B8%E5.GIF","RAR","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","ZIP","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","ISO","./sendfile/filefirst.asp","parent.Cont",
"images/%D0%B4%B8%E5.GIF","GHO","./sendfile/filefirst.asp","parent.Cont");
 
document.write("<DIV id='OutlookLikeBar' style='position:absolute;top:"+OB_Top+";left:"+OB_Left+";width:"+OB_Width+";height:"+OB_Height+";border:"+OB_BorderWidth+" "+OB_BorderStyle+" "+OB_BorderColor+";background-color:"+OB_BackgroundColor+";z-index:0;visibility:hidden;clip:rect(0,"+OB_Width+","+OB_Height+",0)'>");
document.write("<img onMouseUp='OutlookLikeBar.ArrowSelected(this)' onMouseDown='OutlookLikeBar.ArrowClicked(this)' onMouseOver='OutlookLikeBar.OverArrow(this)' onMouseOut='OutlookLikeBar.OutArrow(this)' id='OB_SlideUp' height='"+OB_ArrowHeight+"' width='"+OB_ArrowWidth+"' src='"+OB_UpArrow+"' style='position:absolute;top:0;left:0;cursor:hand;visibility:hidden;z-index:500'>");
document.write("<img onMouseUp='OutlookLikeBar.ArrowSelected(this)' onMouseDown='OutlookLikeBar.ArrowClicked(this)' onMouseOver='OutlookLikeBar.OverArrow(this)' onMouseOut='OutlookLikeBar.OutArrow(this)' id='OB_SlideDown' height='"+OB_ArrowHeight+"' width='"+OB_ArrowWidth+"' src='"+OB_DownArrow+"' style='position:absolute;top:0;left:0;cursor:hand;visibility:hidden;z-index:500'>");
j=1;
while(eval("window.OutBarFolder"+j))
	j++;
i=j-1;
while(i>0)
{
	Folder=eval("OutBarFolder"+i)
	window.status="Outlook-Like Bar is making folder '"+Folder[0]+"'";
	if(i==1)
	{
		document.write("<INPUT position='UP' id='OB_Button1' onDblClick='OutlookLikeBar.FolderClicked("+i+");this.blur()' onClick='OutlookLikeBar.FolderClicked("+i+");this.blur()' TYPE='button' value='"+Folder[0]+"' style='position:absolute;top:0;left:0;width:90;height:"+OB_ButtonHeight+";font-family:"+OB_ButtonFontFamily+";font-size:"+OB_ButtonFontSize+"pt;cursor:hand;color:"+OB_ButtonFontColor+";z-index:100'>");
		MakeItems(Folder,i,OB_ButtonHeight);		
	}	
	else
	{
		document.write("<INPUT position='DOWN' id='OB_Button"+i+"' onDblClick='OutlookLikeBar.FolderClicked("+i+");this.blur()' onClick='OutlookLikeBar.FolderClicked("+i+");this.blur()' TYPE='button' value='"+Folder[0]+"' style='position:absolute;top:"+(OB_Height-(j-i)*OB_ButtonHeight-OB_BorderWidth*2)+";left:0;width:90;height:"+OB_ButtonHeight+";font-family:"+OB_ButtonFontFamily+";font-size:"+OB_ButtonFontSize+"pt;cursor:hand;color:"+OB_ButtonFontColor+";z-index:100'>");
		MakeItems(Folder,i,(OB_Height-(j-i)*OB_ButtonHeight-OB_BorderWidth*2)+OB_ButtonHeight);		
	}		
	i--;
}	
document.write("</DIV>");
var OutlookLikeBar=new OutBar(OB_Width,OB_Height,j-1,OB_ButtonHeight,OB_BorderWidth,OB_SlideSpeed,OB_IconsHeight+OB_LabelFontSize+OB_LabelMargin+OB_ItemsSpacing,OB_ArrowSlideSpeed);
window.status="Outlook动态数据菜单";
document.all["OutlookLikeBar"].style.visibility="visible";

/*以下的代码中你需要改动菜单的数目与实际一致,本例用了4个按钮菜单。*/
function MakeItems(Folder,zorder,top)
{
	var items=0;
	var folderWidth=(OB_Width-OB_BorderWidth*2);
	while(Folder[items+1])
		items+=4;  //需要改这里及下面的4;
	items/=4;
	document.write("<DIV id='OB_Folder"+zorder+"' style='position:absolute;left:0;top:"+top+";width:"+folderWidth+";height:"+(OB_Margin*2+items*(OB_IconsHeight+OB_LabelFontSize+OB_LabelMargin)+(items-1)*OB_ItemsSpacing)+";z-index:"+zorder+";clip:rect(0 0 0 0);'>");
	for(var i=1;i<items*4;i+=4)
	{
		document.write("<div targetFrame='"+Folder[i+3]+"' link='"+Folder[i+2]+"' onMouseDown='OutlookLikeBar.ItemClicked(this)' onMouseUp='OutlookLikeBar.ItemSelected(this)' onMouseOver='OutlookLikeBar.OverItems(this)' onMouseOut='OutlookLikeBar.OutItems(this)' style='position:absolute;left:"+(Math.ceil((OB_Width-OB_BorderWidth*2-OB_IconsHeight)/2)-1)+";top:"+(OB_Margin+Math.ceil((i-1)/4)*(OB_ItemsSpacing+OB_LabelFontSize+OB_IconsHeight))+";cursor:hand;clip:rect(0 "+OB_IconsWidth+" "+OB_IconsHeight+" 0;width:"+OB_IconsWidth+";height:"+OB_IconsHeight+"' align='center'>");
 		document.write("<img src='"+Folder[i]+"'>");
		document.write("</div>");
		document.write("<div style='position:absolute;width:"+folderWidth+";left:0;top:"+(OB_LabelMargin+OB_IconsHeight+OB_Margin+Math.ceil((i-1)/4)*(OB_ItemsSpacing+OB_LabelFontSize+OB_IconsHeight))+";font-family:"+OB_LabelFontFamily+";font-size:"+OB_LabelFontSize+"pt;color:"+OB_LabelFontColor+"'>");
		document.write("<div align='center'>"+Folder[i+1]+"</div>");
		document.write("</div>");
	}	
	document.write("</DIV>");
}


//***************************
//* Outlook-Like Bar Object *
//***************************
function OutBar(width,height,items,buttonHeight,borderWidth,slideSpeed,slideArrowValue,ArrowSlideSpeed)
{
	this.currentFolder=1;
	this.currentItem=null;
	this.slideCount=0;
	this.slideStep=1;
	this.slideArrowValue=slideArrowValue;
	this.slideSpeed=slideSpeed;
	this.borderWidth=borderWidth;
	this.width=width;
	this.visibleAreaHeight=height-2*borderWidth-items*buttonHeight;
	this.visibleAreaWidth=width;
	this.FolderClicked=FolderClicked;
	this.SlideFolders=SlideFolders;
	this.ItemClicked=ItemClicked;
	this.ItemSelected=ItemSelected;
	this.OverItems=OverItems;
	this.OutItems=OutItems;
	this.OverArrow=OverArrow;
	this.OutArrow=OutArrow;
	this.ArrowClicked=ArrowClicked;
	this.ArrowSelected=ArrowSelected;
	this.ArrowSlideSpeed=ArrowSlideSpeed;
	this.SlideItems=SlideItems;
	this.SlideItemsAction=SlideItemsAction;
	this.Start=Start;
	this.ClipFolder=ClipFolder;
	this.SetArrows=SetArrows;
	this.HideArrows=HideArrows;
	this.sliding=false;
	this.items=items;
	this.started=false;
	this.Start();
}

⌨️ 快捷键说明

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