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

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

?? xtree.js

?? jsp人事管理系統jsp+servlet
?? JS
?? 第 1 頁 / 共 2 頁
字號:
/*----------------------------------------------------------------------------\
|                       Cross Browser Tree Widget 1.17                        |
|-----------------------------------------------------------------------------|
|                          Created by Emil A Eklund                           |
|                  (http://webfx.eae.net/contact.html#emil)                   |
|                      For WebFX (http://webfx.eae.net/)                      |
|-----------------------------------------------------------------------------|
| An object based tree widget,  emulating the one found in microsoft windows, |
| with persistence using cookies. Works in IE 5+, Mozilla and konqueror 3.    |
|-----------------------------------------------------------------------------|
|          Copyright (c) 2000, 2001, 2002, 2003, 2006 Emil A Eklund           |
|-----------------------------------------------------------------------------|
| Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| use this file except in compliance with the License.  You may obtain a copy |
| of the License at http://www.apache.org/licenses/LICENSE-2.0                |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| Unless  required  by  applicable law or  agreed  to  in  writing,  software |
| distributed under the License is distributed on an  "AS IS" BASIS,  WITHOUT |
| WARRANTIES OR  CONDITIONS OF ANY KIND,  either express or implied.  See the |
| License  for the  specific language  governing permissions  and limitations |
| under the License.                                                          |
|-----------------------------------------------------------------------------|
| Dependencies: xtree.css (To set up the CSS of the tree classes)             |
|-----------------------------------------------------------------------------|
| 2001-01-10 | Original Version Posted.                                       |
| 2001-03-18 | Added getSelected and get/setBehavior  that can make it behave |
|            | more like windows explorer, check usage for more information.  |
| 2001-09-23 | Version 1.1 - New features included  keyboard  navigation (ie) |
|            | and the ability  to add and  remove nodes dynamically and some |
|            | other small tweaks and fixes.                                  |
| 2002-01-27 | Version 1.11 - Bug fixes and improved mozilla support.         |
| 2002-06-11 | Version 1.12 - Fixed a bug that prevented the indentation line |
|            | from  updating correctly  under some  circumstances.  This bug |
|            | happened when removing the last item in a subtree and items in |
|            | siblings to the remove subtree where not correctly updated.    |
| 2002-06-13 | Fixed a few minor bugs cased by the 1.12 bug-fix.              |
| 2002-08-20 | Added usePersistence flag to allow disable of cookies.         |
| 2002-10-23 | (1.14) Fixed a plus icon issue                                 |
| 2002-10-29 | (1.15) Last changes broke more than they fixed. This version   |
|            | is based on 1.13 and fixes the bugs 1.14 fixed withou breaking |
|            | lots of other things.                                          |
| 2003-02-15 | The  selected node can now be made visible even when  the tree |
|            | control  loses focus.  It uses a new class  declaration in the |
|            | css file '.webfx-tree-item a.selected-inactive', by default it |
|            | puts a light-gray rectangle around the selected node.          |
| 2003-03-16 | Adding target support after lots of lobbying...                |
| 2006-05-26 | Changed license to Apache Software License 2.0.                |
|-----------------------------------------------------------------------------|
| Created 2000-12-11 | All changes are in the log above. | Updated 2006-05-26 |
\----------------------------------------------------------------------------*/

var webFXTreeConfig = {
	rootIcon        : 'tree_images/rooticon.gif',
	openRootIcon    : 'tree_images/openrooticon.gif',
	folderIcon      : 'tree_images/foldericon.gif',
	openFolderIcon  : 'tree_images/openfoldericon.gif',
	fileIcon        : 'tree_images/file.png',
	iIcon           : 'tree_images/I.png',
	lIcon           : 'tree_images/L.png',
	lMinusIcon      : 'tree_images/Lminus.png',
	lPlusIcon       : 'tree_images/Lplus.png',
	tIcon           : 'tree_images/T.png',
	tMinusIcon      : 'tree_images/Tminus.png',
	tPlusIcon       : 'tree_images/Tplus.png',
	blankIcon       : 'tree_images/blank.png',
	defaultText     : 'Tree Item',
	defaultAction   : 'javascript:void(0);',
	defaultBehavior : 'classic',
	usePersistence	: true
};

var webFXTreeHandler = {
	idCounter : 0,
	idPrefix  : "webfx-tree-object-",
	all       : {},
	behavior  : null,
	selected  : null,
	onSelect  : null, /* should be part of tree, not handler */
	getId     : function() { return this.idPrefix + this.idCounter++; },
	toggle    : function (oItem) { this.all[oItem.id.replace('-plus','')].toggle(); },
	select    : function (oItem) { this.all[oItem.id.replace('-icon','')].select(); },
	focus     : function (oItem) { this.all[oItem.id.replace('-anchor','')].focus(); },
	blur      : function (oItem) { this.all[oItem.id.replace('-anchor','')].blur(); },
	keydown   : function (oItem, e) { return this.all[oItem.id].keydown(e.keyCode); },
	cookies   : new WebFXCookie(),
	insertHTMLBeforeEnd	:	function (oElement, sHTML) {
		if (oElement.insertAdjacentHTML != null) {
			oElement.insertAdjacentHTML("BeforeEnd", sHTML)
			return;
		}
		var df;	// DocumentFragment
		var r = oElement.ownerDocument.createRange();
		r.selectNodeContents(oElement);
		r.collapse(false);
		df = r.createContextualFragment(sHTML);
		oElement.appendChild(df);
	}
};

/*
 * WebFXCookie class
 */

function WebFXCookie() {
	if (document.cookie.length) { this.cookies = ' ' + document.cookie; }
}

WebFXCookie.prototype.setCookie = function (key, value) {
	document.cookie = key + "=" + escape(value);
}

WebFXCookie.prototype.getCookie = function (key) {
	if (this.cookies) {
		var start = this.cookies.indexOf(' ' + key + '=');
		if (start == -1) { return null; }
		var end = this.cookies.indexOf(";", start);
		if (end == -1) { end = this.cookies.length; }
		end -= start;
		var cookie = this.cookies.substr(start,end);
		return unescape(cookie.substr(cookie.indexOf('=') + 1, cookie.length - cookie.indexOf('=') + 1));
	}
	else { return null; }
}

/*
 * WebFXTreeAbstractNode class
 */

function WebFXTreeAbstractNode(sText, sAction) {
	this.childNodes  = [];
	this.id     = webFXTreeHandler.getId();
	this.text   = sText || webFXTreeConfig.defaultText;
	this.action = sAction || webFXTreeConfig.defaultAction;
	this._last  = false;
	webFXTreeHandler.all[this.id] = this;
}

/*
 * To speed thing up if you're adding multiple nodes at once (after load)
 * use the bNoIdent parameter to prevent automatic re-indentation and call
 * the obj.ident() method manually once all nodes has been added.
 */

WebFXTreeAbstractNode.prototype.add = function (node, bNoIdent) {
	node.parentNode = this;
	this.childNodes[this.childNodes.length] = node;
	var root = this;
	if (this.childNodes.length >= 2) {
		this.childNodes[this.childNodes.length - 2]._last = false;
	}
	while (root.parentNode) { root = root.parentNode; }
	if (root.rendered) {
		if (this.childNodes.length >= 2) {
			document.getElementById(this.childNodes[this.childNodes.length - 2].id + '-plus').src = ((this.childNodes[this.childNodes.length -2].folder)?((this.childNodes[this.childNodes.length -2].open)?webFXTreeConfig.tMinusIcon:webFXTreeConfig.tPlusIcon):webFXTreeConfig.tIcon);
			this.childNodes[this.childNodes.length - 2].plusIcon = webFXTreeConfig.tPlusIcon;
			this.childNodes[this.childNodes.length - 2].minusIcon = webFXTreeConfig.tMinusIcon;
			this.childNodes[this.childNodes.length - 2]._last = false;
		}
		this._last = true;
		var foo = this;
		while (foo.parentNode) {
			for (var i = 0; i < foo.parentNode.childNodes.length; i++) {
				if (foo.id == foo.parentNode.childNodes[i].id) { break; }
			}
			if (i == foo.parentNode.childNodes.length - 1) { foo.parentNode._last = true; }
			else { foo.parentNode._last = false; }
			foo = foo.parentNode;
		}
		webFXTreeHandler.insertHTMLBeforeEnd(document.getElementById(this.id + '-cont'), node.toString());
		if ((!this.folder) && (!this.openIcon)) {
			this.icon = webFXTreeConfig.folderIcon;
			this.openIcon = webFXTreeConfig.openFolderIcon;
		}
		if (!this.folder) { this.folder = true; this.collapse(true); }
		if (!bNoIdent) { this.indent(); }
	}
	return node;
}

WebFXTreeAbstractNode.prototype.toggle = function() {
	if (this.folder) {
		if (this.open) { this.collapse(); }
		else { this.expand(); }
}	}

WebFXTreeAbstractNode.prototype.select = function() {
	document.getElementById(this.id + '-anchor').focus();
}

WebFXTreeAbstractNode.prototype.deSelect = function() {
	document.getElementById(this.id + '-anchor').className = '';
	webFXTreeHandler.selected = null;
}

WebFXTreeAbstractNode.prototype.focus = function() {
	if ((webFXTreeHandler.selected) && (webFXTreeHandler.selected != this)) { webFXTreeHandler.selected.deSelect(); }
	webFXTreeHandler.selected = this;
	if ((this.openIcon) && (webFXTreeHandler.behavior != 'classic')) { document.getElementById(this.id + '-icon').src = this.openIcon; }
	document.getElementById(this.id + '-anchor').className = 'selected';
	document.getElementById(this.id + '-anchor').focus();
	if (webFXTreeHandler.onSelect) { webFXTreeHandler.onSelect(this); }
}

WebFXTreeAbstractNode.prototype.blur = function() {
	if ((this.openIcon) && (webFXTreeHandler.behavior != 'classic')) { document.getElementById(this.id + '-icon').src = this.icon; }
	document.getElementById(this.id + '-anchor').className = 'selected-inactive';
}

WebFXTreeAbstractNode.prototype.doExpand = function() {
	if (webFXTreeHandler.behavior == 'classic') { document.getElementById(this.id + '-icon').src = this.openIcon; }
	if (this.childNodes.length) {  document.getElementById(this.id + '-cont').style.display = 'block'; }
	this.open = true;
	if (webFXTreeConfig.usePersistence) {
		webFXTreeHandler.cookies.setCookie(this.id.substr(18,this.id.length - 18), '1');
}	}

WebFXTreeAbstractNode.prototype.doCollapse = function() {
	if (webFXTreeHandler.behavior == 'classic') { document.getElementById(this.id + '-icon').src = this.icon; }
	if (this.childNodes.length) { document.getElementById(this.id + '-cont').style.display = 'none'; }
	this.open = false;
	if (webFXTreeConfig.usePersistence) {
		webFXTreeHandler.cookies.setCookie(this.id.substr(18,this.id.length - 18), '0');
}	}

WebFXTreeAbstractNode.prototype.expandAll = function() {
	this.expandChildren();
	if ((this.folder) && (!this.open)) { this.expand(); }
}

WebFXTreeAbstractNode.prototype.expandChildren = function() {
	for (var i = 0; i < this.childNodes.length; i++) {
		this.childNodes[i].expandAll();
} }

WebFXTreeAbstractNode.prototype.collapseAll = function() {
	this.collapseChildren();
	if ((this.folder) && (this.open)) { this.collapse(true); }
}

WebFXTreeAbstractNode.prototype.collapseChildren = function() {
	for (var i = 0; i < this.childNodes.length; i++) {
		this.childNodes[i].collapseAll();
} }

WebFXTreeAbstractNode.prototype.indent = function(lvl, del, last, level, nodesLeft) {
	/*
	 * Since we only want to modify items one level below ourself,
	 * and since the rightmost indentation position is occupied by
	 * the plus icon we set this to -2
	 */
	if (lvl == null) { lvl = -2; }
	var state = 0;
	for (var i = this.childNodes.length - 1; i >= 0 ; i--) {
		state = this.childNodes[i].indent(lvl + 1, del, last, level);
		if (state) { return; }
	}
	if (del) {
		if ((level >= this._level) && (document.getElementById(this.id + '-plus'))) {
			if (this.folder) {
				document.getElementById(this.id + '-plus').src = (this.open)?webFXTreeConfig.lMinusIcon:webFXTreeConfig.lPlusIcon;
				this.plusIcon = webFXTreeConfig.lPlusIcon;
				this.minusIcon = webFXTreeConfig.lMinusIcon;
			}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 欧美xfplay| 成人久久18免费网站麻豆| 亚洲成人av福利| 国产精品亲子乱子伦xxxx裸| 欧美一二三在线| 91福利国产精品| 国产不卡视频一区| 精品无码三级在线观看视频| 亚洲一区二区三区在线| 中文字幕一区二区在线播放| 久久久久一区二区三区四区| 欧美日本韩国一区二区三区视频| 成人18精品视频| 国产精品一卡二卡在线观看| 日韩在线一区二区| 性欧美大战久久久久久久久| 亚洲男人天堂av| 国产精品久久久久久久久图文区| 久久综合狠狠综合久久综合88| 日韩一区二区在线观看视频| 欧美日韩一卡二卡| 欧美写真视频网站| 91福利视频在线| 色综合亚洲欧洲| 99久久99精品久久久久久| 高清国产一区二区| 国产一区二区不卡在线| 国产制服丝袜一区| 韩日av一区二区| 激情综合色播激情啊| 精品一区二区三区在线播放| 紧缚奴在线一区二区三区| 免费av成人在线| 麻豆国产精品777777在线| 美女诱惑一区二区| 久久爱www久久做| 精品一区二区影视| 国产一区二区按摩在线观看| 国产成人丝袜美腿| 成人免费视频app| av一区二区三区| 色屁屁一区二区| 欧美成人精品1314www| 欧美高清视频一二三区| 欧美一区二区三区免费| 欧美成人性战久久| 2021中文字幕一区亚洲| 国产拍揄自揄精品视频麻豆| 欧美极品xxx| 亚洲乱码精品一二三四区日韩在线| 一区av在线播放| 日韩黄色一级片| 国产一区二区在线免费观看| 成人激情动漫在线观看| 在线观看亚洲精品视频| 在线91免费看| 久久久久久久精| 亚洲天天做日日做天天谢日日欢| 亚洲妇女屁股眼交7| 日本欧美肥老太交大片| 国产一区二区三区黄视频 | 色哟哟一区二区在线观看| 欧美天天综合网| 欧美成人免费网站| 国产精品久久久一区麻豆最新章节| 亚洲精品少妇30p| 蜜臀精品一区二区三区在线观看 | 久久av中文字幕片| 成人午夜av影视| 欧美日韩一级二级三级| 26uuu亚洲综合色| 亚洲欧美日韩国产手机在线| 午夜精品一区二区三区三上悠亚| 久久99精品久久久久久| www.66久久| 制服丝袜亚洲网站| 国产精品久久影院| 日韩精品每日更新| eeuss鲁片一区二区三区| 欧美日韩精品一区二区三区四区 | 亚洲精品一线二线三线| 亚洲欧美另类图片小说| 久久99国产精品尤物| 色婷婷久久久久swag精品| 欧美大片在线观看| 亚洲精品中文字幕乱码三区| 免费高清不卡av| 色一情一乱一乱一91av| 欧美精品一区二区不卡| 一区二区三区在线视频播放| 国产精品一色哟哟哟| 91高清在线观看| 国产日韩欧美精品综合| 亚洲一二三专区| 成人的网站免费观看| 欧美午夜寂寞影院| 国产欧美一区视频| 日本午夜精品视频在线观看| 91久久精品一区二区三区| 国产亚洲精品aa午夜观看| 青青草原综合久久大伊人精品优势 | 91精品黄色片免费大全| 亚洲人午夜精品天堂一二香蕉| 九九九精品视频| 欧美日韩国产在线观看| 自拍偷自拍亚洲精品播放| 蜜臀va亚洲va欧美va天堂| 欧洲一区二区三区在线| 亚洲欧洲精品成人久久奇米网| 国产一区二区三区黄视频 | 亚洲激情图片小说视频| 国产激情一区二区三区桃花岛亚洲| 欧美精品在线视频| 一区二区三区国产精品| 成人午夜免费av| 国产丝袜美腿一区二区三区| 精品一区二区在线播放| 欧美一区二区三区影视| 亚洲电影中文字幕在线观看| 91啦中文在线观看| 国产精品狼人久久影院观看方式| 国产在线播放一区| 久久综合中文字幕| 久久精品国产色蜜蜜麻豆| 制服丝袜亚洲网站| 日韩电影在线观看网站| 欧美精品vⅰdeose4hd| 亚洲mv大片欧洲mv大片精品| 欧美私人免费视频| 亚洲午夜在线电影| 欧美日韩亚洲高清一区二区| 亚洲高清免费一级二级三级| 色菇凉天天综合网| 亚洲愉拍自拍另类高清精品| 在线观看日产精品| 亚洲综合成人在线视频| 欧美日韩小视频| 日韩福利视频导航| 在线播放欧美女士性生活| 婷婷久久综合九色国产成人| 欧美精品1区2区| 免费看黄色91| 欧美videos中文字幕| 国产精品香蕉一区二区三区| 国产人伦精品一区二区| 成人aa视频在线观看| 亚洲色图另类专区| 欧美日韩一区二区三区四区| 奇米影视7777精品一区二区| 亚洲精品一区二区三区蜜桃下载| 国产成人在线视频网址| 一区免费观看视频| 欧美体内she精高潮| 久久精品国产**网站演员| 久久久99精品免费观看不卡| youjizz国产精品| 亚洲一区二区视频| 精品国产乱码久久久久久图片| 国产一区二区三区在线观看免费视频| 国产午夜精品在线观看| 一本在线高清不卡dvd| 五月婷婷久久综合| 国产婷婷色一区二区三区 | 日本一区二区免费在线观看视频| 成人黄色电影在线 | 最新欧美精品一区二区三区| 在线看国产一区| 精品在线视频一区| 国产精品毛片无遮挡高清| 色婷婷精品大在线视频| 蜜臀av亚洲一区中文字幕| 中文字幕久久午夜不卡| 欧美在线播放高清精品| 国产综合成人久久大片91| 综合久久久久综合| 日韩欧美亚洲国产另类| 99精品久久99久久久久| 精品综合免费视频观看| 国产在线不卡视频| 欧美一卡二卡在线观看| 免费欧美高清视频| 国产精品福利一区二区| 3d动漫精品啪啪一区二区竹菊| 成人午夜av影视| 免费观看日韩av| 亚洲免费资源在线播放| 欧美一级xxx| 欧美在线色视频| 国产成人精品三级麻豆| 天涯成人国产亚洲精品一区av| 久久嫩草精品久久久精品一| 欧美日韩一二区| 99视频精品在线| 久久se这里有精品| 午夜影院久久久| 亚洲柠檬福利资源导航| 久久久一区二区| 日韩一二三区视频| 欧美在线观看视频在线|