亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? taskmenu.js

?? 基于JAVA的學生就業(yè)信息網(wǎng) 實現(xiàn)對信息瀏覽 檢索 審核 修改和刪除
?? JS
?? 第 1 頁 / 共 2 頁
字號:
//****************************************************
//                TaskMenu 3.0
//   		   靜靜的黎明 
//           http://www.docode.cn 
//**************************************************** 
/////////////////////////////////////////////////////////////////////////////////
var INF_IS_IEXPLORER = (navigator.userAgent.indexOf("MSIE") == -1)? false : true;
var INF_IS_MENU_BEHAVIOR_AUTO       = true;
var INF_IS_SCROLLBAR_ENABLED        = false;
///////////////////////////////////////////////////////
/////////////*** CONFIG ***////////////////////////////
var CFG_FRAME_COUNT                 = 6;
var CFG_DOCUMENT_MARGIN             = 12;
var CFG_MENU_SPACING                = 15;
var CFG_MENU_WIDTH                  = 185;
var CFG_SCROLLBAR_WIDTH             = 17;
var CFG_TITLEBAR_HEIGHT             = 25;
var CFG_TITLEBAR_LEFT_WIDTH         = 13;
var CFG_TITLEBAR_RIGHT_WIDTH        = 25;
var CFG_TITLEBAR_MIDDLE_WIDTH = CFG_MENU_WIDTH - CFG_TITLEBAR_LEFT_WIDTH - CFG_TITLEBAR_RIGHT_WIDTH;
var CFG_TITLEBAR_BORDER_WIDTH       = 0;
var CFG_MENUBODY_PADDING            = 9;
var CFG_MENUBODY_BORDER_WIDTH       = 1;
var CFG_SLEEP_TIME_BEGIN            = 20;
var CFG_SLEEP_TIME_END              = 60;
var CFG_ALPHA_STEP = Math.ceil( 100 / (CFG_FRAME_COUNT) );
var CFG_IS_SCROLLBAR_ENABLED        = true;
var CFG_IS_SPECIAL_HEAD_NODE        = false;

//////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////
if(new Array().push == null)
{
	//usage: array.push(Array); for ie5.0
	Array.prototype.push = function()
	{
		this[this.length] = arguments[0];
		return this.length;
	}
}
if(new Array().splice == null)
{
	/// usage: array.splice(startPos,deleteCount,[item1,item2,...]);for ie5.0
	Array.prototype.splice = function()
	{
		if(arguments.length < 2 || arguments[1] < 0) 
			return new Array();

		var endPoint1 = arguments[0];	
		if(endPoint1 < 0 && Math.abs(endPoint1) > this.length)
			endPoint1 = 0;

		var startPoint2 = (endPoint1 < 0)? (this.length + endPoint1 + arguments[1]) : (endPoint1 + arguments[1]);

		var bArray = this.slice(0,endPoint1);	
		var dArray = this.slice(endPoint1,startPoint2);
		var eArray = this.slice(startPoint2);
		var nArray = new Array();
		for(var i = 2; i < arguments.length; i++)
		{
			nArray.push(arguments[i]);
		}	
		var fArray = bArray.concat(nArray,eArray);

		for(var i = 0; i < fArray.length; i++)
		{
			this[i] = fArray[i];
		}
		this.length = fArray.length;
		
		return dArray;
	}
}
			
/////////////////////////////////////////////////////////////////		
function TaskMenuState(){}
TaskMenuState.uninited      =  0;
TaskMenuState.open          =  1;
TaskMenuState.close         =  2;
TaskMenuState.opening       =  4;
TaskMenuState.closing       =  8;
TaskMenuState.transforming  = 16;

function TaskMenuItem(strLabel,strIcon,strCommand)
{
	this.label      = strLabel;
	this.icon       = strIcon;
	this.command    = strCommand;
	this.hItem      = null;
	this.hLabel     = null;
	this.hIcon      = null;
	this.hLabelCell = null;
	this.container  = null;
	this.operTimer  = null;
	this.tranTimer  = null;
	this.operStep   = 0;
	this.tranStep   = 0;
	this.operCount  = 0;
	this.tranCount  = 0;

	this.init = function()
	{
		(this.hLabel = document.createElement("FONT")).reflectClass = this;
		with(this.hLabel)
		{	
			reflectClass = this;
		}
		with(this.hItem = document.createElement("TABLE"))
		{	
			cellPadding = 0;
			cellSpacing = 0;
			style.width = "100%";
		}
		(itemRow = this.hItem.insertRow(0)).className="MenuItemRow";
		with(blankCell = itemRow.insertCell(0))
		{
			style.width = (CFG_MENUBODY_PADDING - 2) +"px";
		}
		with(iconCell = itemRow.insertCell(1))
		{
			align  = "RIGHT";
			style.cssText = "width:18px;vertical-align:top;padding-top:3px";						
			with(this.hIcon = iconCell.appendChild(document.createElement("DIV")))
			{
				className = "IconContainer";
			}
		}
		
		with(this.hLabelCell = itemRow.insertCell(2))
		{
			style.padding = "2px " + CFG_MENUBODY_PADDING +"px 2px 5px";
			appendChild(this.hLabel);				
		}
		with(this)
		{
			setIcon(icon);	setLabel(label); setCommand(command);
		}
	}

	this.getLabel = function()
	{
		return this.label;
	}

	this.setLabel = function(strLabel)
	{
		this.hLabel.innerHTML = this.label = strLabel;
	}
	this.getIcon = function()
	{
		return this.icon;
	}

	this.setIcon = function(strIcon)
	{
		this.icon = strIcon;

		while(this.hIcon.firstChild != null)
		{
			this.hIcon.removeChild(this.hIcon.firstChild);
		}

		if(this.icon != null)
		{
			with(this.hIcon)
			{				
				style.width = "18px";
				parentNode.style.width = "18px";
				with(appendChild(new Image()))
				{
					src= this.icon;
				}
			}
		}
		else
		{
			this.hIcon.style.width = "0px";
			this.hIcon.parentNode.style.width = "0px";
		}
	}

	this.getCommand = function()
	{
		return this.command;
	}

	this.setCommand = function(strCommand)
	{
		if( (this.command = strCommand) != null)
		{
			JS.addListener(this.hLabel,"mouseover",TaskMenuItem.onMouseBehavior,false);
			JS.addListener(this.hLabel,"mouseout",TaskMenuItem.onMouseBehavior,false);
			JS.addListener(this.hLabel,"click",TaskMenuItem.onClick,false);
			this.hLabel.className = "MenuItemLabel";
		}		
		else
		{
			JS.removeListener(this.hLabel,"mouseover",TaskMenuItem.onMouseBehavior,false);
			JS.removeListener(this.hLabel,"mouseout",TaskMenuItem.onMouseBehavior,false);
			JS.removeListener(this.hLabel,"click",TaskMenuItem.onClick,false);
			this.hLabel.className = "MenuItemLabelDisabled";
		}
	}

	this.runCommand = function()	
	{
		try
		{	
			eval(this.command);	
		}
		catch(ex)
		{	
			alert("Javascript Error:" + ex.description);	
		}
	}

	this.cloneNode = function()
	{
		return new TaskMenuItem(this.label,this.icon,this.command);
	}

	this.init();
}

TaskMenuItem.onMouseBehavior = function()
{
	with(JS.getSourceElement(arguments[0]))
	{
		if(arguments[0].type.toUpperCase() == "MOUSEOVER")
			className = "MenuItemLabelMouseOver";
		
		else
			className = "MenuItemLabel"; 
	}	
}

TaskMenuItem.onClick = function()
{
	var refClass = JS.getSourceElement(arguments[0]).reflectClass;
	if(refClass != null) refClass.runCommand();
}

function TaskMenu(strLabel,menuState)
{
	this.menuID;
	this.label       = strLabel;
	this.state       = menuState;
	this.items       = [];
	this.hLabel      = null;
	this.hArrayCell  = null;
	this.titlebar    = null;
	this.menuBody    = null;
	this.previous    = null;
	this.next        = null;
	this.background  = null;
	this.operationTimer;
	this.transformTimer;
	this.invalidateTimer
	this.operationStep;
	this.transformStep;
	this.operationSleep;
	this.transformSleep;

	this._getAlphaOpacity = function()
	{
		try
		{
			if(INF_IS_IEXPLORER)	
				return this.menuBody.filters.alpha.opacity;

			else
				return this.menuBody.style.MozOpacity * 100;
		}
		catch(ex)
		{
			return 100;
		}	
	}

	this._setAlphaOpacity = function(n)
	{
		try
		{
			if(INF_IS_IEXPLORER)
				this.menuBody.filters.alpha.opacity = n;

			else
				this.menuBody.style.MozOpacity = n / 100;
		}
		catch(ex)
		{}	
	}
	this._clearItem = function()
	{
		for(var i =0; i< this.items.length; i++)
		{
			this.items[i].container = null;
		}
		this.items = new Array();
	}

	this._clearMenu = function()
	{
		if(this.menuBody == null) return;

		while(this.menuBody.firstChild != null)
			this.menuBody.removeChild(this.menuBody.firstChild);
	}

	this._setMenuFixed = function(bFlag)
	{
		if(this.menuBody == null) return;

		if(bFlag == true)	
		{
			this.menuBody.style.overflow = "hidden";
		}
		else
		{
			this.menuBody.style.overflow = "visible";
			this.menuBody.style.height   = "auto";	
		}			
	}

	this._setMenuHeight = function(height)
	{
		if(INF_IS_IEXPLORER)
			this.menuBody.style.height = height + "px";

		else
			this.menuBody.style.height = ( height - (2 * CFG_MENUBODY_PADDING + CFG_MENUBODY_BORDER_WIDTH) ) + "px";
	}

	this._getMenuHeight = function()
	{
		if(INF_IS_IEXPLORER)
			return this.menuBody.scrollHeight + CFG_MENUBODY_BORDER_WIDTH;

		else
		{
			var scrollHeight = 0;
			for(var i = 0; i < this.menuBody.childNodes.length; i++)
			{
				scrollHeight += this.menuBody.childNodes[i].offsetHeight;			
			}

			return scrollHeight + CFG_MENUBODY_BORDER_WIDTH + 2 * CFG_MENUBODY_PADDING;
		}
	}
	
	this._getScrollWidth = function()
	{
		return (INF_IS_SCROLLBAR_ENABLED)? CFG_SCROLLBAR_WIDTH : 0
	}
	
	this._fixMenuWidth = function(value)
	{
		var titlebarWidth = ( CFG_MENU_WIDTH + ( (INF_IS_IEXPLORER)? 0 : ( -2 * CFG_TITLEBAR_BORDER_WIDTH ) ) );
		var menuBodyWidth = ( CFG_MENU_WIDTH + ( (INF_IS_IEXPLORER)? 0 : ( -2 * CFG_MENUBODY_BORDER_WIDTH ) ) );
		var labelCell = this.titlebar.firstChild.rows[0].cells[1];
		var scrollbarWidth = this._getScrollWidth();

		this.hLabel.style.width   = (CFG_TITLEBAR_MIDDLE_WIDTH - scrollbarWidth) + "px";
		labelCell.style.width     = (CFG_TITLEBAR_MIDDLE_WIDTH - scrollbarWidth) + "px";
		this.titlebar.style.width = (titlebarWidth - scrollbarWidth) + "px";
		this.menuBody.style.width = (menuBodyWidth - scrollbarWidth) + "px";
		
		this._invalidate(true);
	}

	this._fixedMenuPosWhileClose = function()
	{	
		var scrollHeight = this._getMenuHeight();
		this._setMenuHeight(scrollHeight);
		this.menuBody.style.top = (this.titlebar.offsetTop + CFG_TITLEBAR_HEIGHT - scrollHeight) + "px";
		this.menuBody.style.clip = "rect(" + scrollHeight +" auto " + scrollHeight + " auto)";	
		this._setAlphaOpacity(0);
	}

	this._attachState = function(state)
	{
		switch(state)
		{
			case TaskMenuState.open:
			case TaskMenuState.close:
			case TaskMenuState.opening:
			case TaskMenuState.closing:
				this.state >>= 4;
				this.state <<= 4;
			case TaskMenuState.transforming:
				this.state |= state;
			break;
			case TaskMenuState.uninited:
				this.state = state;
			break;
		}
	}

	this._removeState = function(state)
	{
		if(this.state & state)	this.state ^= state;	
	}

	this._invalidate = function(bForce)
	{
		if(INF_IS_MENU_BEHAVIOR_AUTO == true || bForce == true)
		{
			this.invalidate();
		}
	}

	this._extend = function()
	{
		if(this.state & TaskMenuState.close)
		{
			this._fixedMenuPosWhileClose();
			this._removeState(TaskMenuState.transforming);
		}
		else
		{
			if(this.menuBody.offsetHeight + this.transformStep < this._getMenuHeight())
			{
				this._setMenuHeight(this.menuBody.offsetHeight + this.transformStep);
				this.transformTimer = setTimeout("TaskMenu.collection[" + this.menuID + "]._extend()",this.transformSleep += 5);
			}
			else
			{
				this._setMenuHeight(this._getMenuHeight());		
				this._removeState(TaskMenuState.transforming);	
			}
		}
		if(this.next != null) this.next._moveTo();
		TaskMenu._refreshAll();
	}

	this._shorten = function()
	{
		if(this.state & TaskMenuState.close)
		{
			this._fixedMenuPosWhileClose();
			this._removeState(TaskMenuState.transforming);
		}
		else
		{	
			if(this.menuBody.offsetHeight + this.transformStep > this._getMenuHeight())
			{	
				this._setMenuHeight(this.menuBody.offsetHeight + this.transformStep);
				this.transformTimer = setTimeout("TaskMenu.collection[" + this.menuID + "]._shorten()",this.transformSleep += 5);
			}
			else
			{
				this._setMenuHeight(this._getMenuHeight());
				this._removeState(TaskMenuState.transforming);
			}
		}
		if(this.next != null) this.next._moveTo();
		TaskMenu._refreshAll();
	}

	this._appendItems = function()
	{
		if(this.menuBody == null || this.items.length == 0)return;

		for(var i = 0; i < this.items.length; i++)
			this.menuBody.appendChild(this.items[i].hItem);
	}

	this._isSpecialHeadNode = function()
	{
		return CFG_IS_SPECIAL_HEAD_NODE && this == TaskMenu.headNode;
	}
	
	this._open = function()
	{
		var titlebarBottom = this.titlebar.offsetTop + CFG_TITLEBAR_HEIGHT;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一本色道a无线码一区v| 91亚洲精品久久久蜜桃| 欧美aaaaaa午夜精品| 水蜜桃久久夜色精品一区的特点| 亚洲成人av电影| 国产乱码精品一区二区三区av | 91精品在线观看入口| 精品理论电影在线观看| 国产精品久久久久久久久久久免费看| 自拍偷拍亚洲综合| 丁香婷婷综合激情五月色| 国产大片一区二区| 欧美日韩在线播放| 国产精品国产a| 美女在线观看视频一区二区| 日韩欧美黄色影院| 亚洲精品日日夜夜| 久久66热偷产精品| 精品婷婷伊人一区三区三| 国产日韩欧美高清| 韩国三级在线一区| 91精品国产入口| 亚洲国产精品一区二区久久 | 国产精品欧美一区喷水| 免费观看在线综合色| 欧美日本国产视频| 亚洲图片欧美综合| 在线观看成人免费视频| 午夜精品久久久久久久蜜桃app| 成人国产亚洲欧美成人综合网 | 大尺度一区二区| 久久久激情视频| 国产91富婆露脸刺激对白| 久久久99久久精品欧美| 国产乱码字幕精品高清av| 精品国产一区二区三区av性色| 午夜精品福利一区二区蜜股av| 91国偷自产一区二区使用方法| 亚洲人成伊人成综合网小说| 91理论电影在线观看| 亚洲福利视频一区二区| 欧美久久久一区| 国产在线国偷精品免费看| 国产色产综合产在线视频| 色综合天天综合在线视频| 一区二区三区在线看| 精品国产成人系列| 99久久99久久久精品齐齐| 夜夜嗨av一区二区三区四季av| 欧美精品在线一区二区三区| 老司机免费视频一区二区三区| 久久精品综合网| 欧美日韩在线电影| 成人网在线免费视频| 亚洲自拍欧美精品| 26uuu久久综合| 欧美色网站导航| www.亚洲精品| 经典三级一区二区| 午夜在线成人av| 亚洲免费av高清| 国产亚洲一区字幕| 日韩一区二区在线观看视频| 91蝌蚪porny| 丁香一区二区三区| 久久精品久久综合| 蜜臀av一级做a爰片久久| 亚洲在线一区二区三区| 国产精品久久福利| 国产午夜一区二区三区| 久久久精品国产99久久精品芒果| 欧美一区二区女人| 精品视频一区二区三区免费| 色悠悠久久综合| 99这里只有精品| 色狠狠色噜噜噜综合网| 99久久国产免费看| 日本福利一区二区| 在线免费观看成人短视频| 成人av电影免费观看| 91网站视频在线观看| 99久久亚洲一区二区三区青草 | 青青草97国产精品免费观看无弹窗版| 欧美久久久久久久久中文字幕| 欧美在线啊v一区| 欧美视频在线观看一区二区| 欧美精选在线播放| 精品国产污污免费网站入口| 久久久久国产免费免费 | 国产成人精品午夜视频免费 | 国产无一区二区| 亚洲午夜成aⅴ人片| 日韩精品乱码av一区二区| 久久精品国产99久久6| 国产一区欧美二区| 日本久久电影网| 欧美一区二区免费观在线| 亚洲国产精华液网站w| 亚洲成人在线免费| 国产.欧美.日韩| 欧美人体做爰大胆视频| 日韩精品亚洲专区| 国产精品系列在线观看| 欧美性大战久久久久久久蜜臀 | 国产精品一线二线三线精华| 欧美一区二区在线看| 一区二区三区丝袜| 国产麻豆91精品| 欧美一级高清大全免费观看| 国产精品拍天天在线| 毛片av一区二区| 欧美色电影在线| 亚洲激情图片小说视频| 国产精品69毛片高清亚洲| 欧美一区二区三区系列电影| 一区二区三区中文字幕| 色综合色综合色综合色综合色综合| 精品日产卡一卡二卡麻豆| 视频在线观看一区二区三区| 色婷婷综合久久久久中文一区二区 | 日韩午夜在线播放| 日韩在线一区二区| 欧美剧在线免费观看网站| 亚洲高清久久久| 日韩欧美国产精品一区| 国内一区二区在线| 久久亚洲捆绑美女| 国产91在线看| **性色生活片久久毛片| 色94色欧美sute亚洲线路二| 国产精品电影院| 欧美日韩亚洲国产综合| 香蕉加勒比综合久久| 欧美大片日本大片免费观看| 精品亚洲成av人在线观看| 国产亚洲福利社区一区| 99精品久久久久久| 五月天国产精品| 精品国产乱码久久久久久闺蜜 | 日韩精品综合一本久道在线视频| 日韩精品亚洲专区| 中文字幕va一区二区三区| 欧美亚洲高清一区二区三区不卡| 亚洲r级在线视频| 久久久国产综合精品女国产盗摄| 色婷婷综合激情| 免费成人在线视频观看| 中文字幕色av一区二区三区| 日韩一级大片在线| 在线免费不卡视频| 国产精品一区一区| 日本中文字幕一区二区有限公司| 久久久久国产精品麻豆| 69久久夜色精品国产69蝌蚪网| 国产精品小仙女| 久久电影网站中文字幕| 亚洲另类在线一区| 国产精品国产精品国产专区不蜜| 91精品国产综合久久蜜臀| 色婷婷精品大在线视频| 成人黄页在线观看| 国产成人亚洲综合a∨婷婷 | 中文字幕在线不卡一区二区三区| 欧美一区二区三区电影| 欧美猛男超大videosgay| 91黄色免费版| 欧美日韩三级一区二区| 欧美主播一区二区三区美女| av在线播放成人| 日本道精品一区二区三区| 91免费版pro下载短视频| 不卡在线观看av| 91麻豆免费在线观看| 在线观看欧美日本| 日韩一级二级三级| 精品国产凹凸成av人网站| 国产嫩草影院久久久久| 欧美激情中文不卡| 亚洲精品va在线观看| 免费精品视频在线| 国产精品中文字幕日韩精品 | 亚洲国产美女搞黄色| 亚洲chinese男男1069| 久久99久国产精品黄毛片色诱| 国产一区二区伦理| 在线日韩av片| 日韩欧美国产成人一区二区| 国产精品毛片a∨一区二区三区| 国产精品久久久久久久午夜片| 亚洲欧美日韩国产成人精品影院| 亚洲尤物在线视频观看| 国产一区二区在线看| aaa国产一区| 久久久一区二区三区| 亚洲成人精品一区二区| 国产成a人亚洲精品| 欧美日韩精品二区第二页| 国产精品视频免费看| 日韩av高清在线观看| 91久久奴性调教|