亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
91麻豆精品在线观看| 日韩电影在线看| 国产精品美女久久久久久久久| 2020国产精品久久精品美国| 精品欧美一区二区久久| 中文字幕成人av| 亚洲综合一区二区三区| 日韩av电影天堂| 国产精品亚洲一区二区三区在线| 国产精品一区二区你懂的| www.亚洲精品| 337p亚洲精品色噜噜噜| 久久久av毛片精品| 亚洲精品一二三四区| 麻豆精品精品国产自在97香蕉| 国产宾馆实践打屁股91| 欧日韩精品视频| 国产欧美一区二区三区在线看蜜臀| 国产精品毛片久久久久久久| 偷拍亚洲欧洲综合| 丁香激情综合五月| 日韩亚洲欧美一区二区三区| 美洲天堂一区二卡三卡四卡视频| 韩国一区二区三区| 国产精品原创巨作av| 国产麻豆视频一区二区| 国产精品一区二区免费不卡| 久久久久久亚洲综合| 久久久久久99精品| 日韩精品成人一区二区在线| 成人性生交大合| 欧美精品一区在线观看| 偷拍日韩校园综合在线| 色国产精品一区在线观看| 久久久精品蜜桃| 亚洲午夜视频在线观看| 日韩主播视频在线| 欧美日韩一级片网站| 国产精品免费aⅴ片在线观看| 欧美a级理论片| 91精品国产高清一区二区三区| 一区二区欧美精品| av欧美精品.com| 一区二区三区毛片| 欧美主播一区二区三区| 亚洲图片一区二区| 7777精品久久久大香线蕉| 奇米精品一区二区三区在线观看 | 麻豆高清免费国产一区| 日韩欧美一区二区视频| 国产一级精品在线| 国产精品久久久久四虎| 亚洲免费在线播放| 欧美视频一区在线| 日韩免费视频线观看| 久久99国产精品尤物| 欧美国产成人在线| 欧美性猛交xxxx乱大交退制版| 国产农村妇女毛片精品久久麻豆| 天天综合网 天天综合色| 欧美精品一区二区三区久久久 | 国产丝袜在线精品| 在线免费精品视频| 韩国v欧美v亚洲v日本v| 国产精品久久久久久久久免费桃花 | 午夜私人影院久久久久| 国产欧美视频在线观看| 欧美人狂配大交3d怪物一区| 日韩精品一区二区三区中文精品| www.成人在线| 成人免费一区二区三区在线观看| 337p亚洲精品色噜噜狠狠| 国产一区二区三区精品视频| 一区二区三区四区不卡在线| 国产午夜亚洲精品理论片色戒| 欧美自拍偷拍一区| av一区二区三区四区| 精品一区二区三区免费毛片爱| 国产精品色噜噜| 久久蜜桃香蕉精品一区二区三区| 91浏览器在线视频| 一区av在线播放| 亚洲超丰满肉感bbw| 国产亚洲欧洲一区高清在线观看| 日韩一级高清毛片| 在线观看视频一区| 日韩福利视频导航| 狠狠色狠狠色综合| 国产精品动漫网站| 一区二区三区四区不卡视频| 中文字幕久久午夜不卡| 国产欧美日韩另类一区| 国产精品美女久久久久久久久久久| 久久精品综合网| 亚洲免费观看高清完整版在线观看 | 成人免费高清在线观看| 99视频精品在线| 欧美三级中文字幕| 国产亚洲婷婷免费| 精品久久久久香蕉网| 国产精品三级av| 久久久不卡影院| 国产精品久久久99| 亚洲高清免费视频| 久久99精品久久久久婷婷| 视频一区二区三区中文字幕| 26uuu欧美日本| 欧美日本国产一区| 日韩欧美国产三级电影视频| 欧美va亚洲va| 久久er精品视频| 日韩一区有码在线| 99re热这里只有精品免费视频| 在线视频国内一区二区| 国产精品精品国产色婷婷| 亚洲精品视频免费观看| 国产三区在线成人av| 日韩精品乱码av一区二区| av电影在线不卡| 337p粉嫩大胆色噜噜噜噜亚洲| 一区二区三区在线视频免费观看| 日韩不卡一二三区| 欧美日韩精品欧美日韩精品一 | 激情小说亚洲一区| 成人免费观看男女羞羞视频| 91在线无精精品入口| 欧美日韩国产高清一区二区三区| 欧美精品亚洲二区| 亚洲精品成人悠悠色影视| 日韩一区日韩二区| a级高清视频欧美日韩| 久久亚洲精精品中文字幕早川悠里| 亚洲一区视频在线| 欧美视频一二三区| 亚洲图片另类小说| 国产91对白在线观看九色| 亚洲欧美中日韩| 欧美日韩国产综合视频在线观看| 亚洲高清视频的网址| 欧美美女黄视频| 日日夜夜免费精品视频| 久久久午夜精品| 色偷偷成人一区二区三区91| 中文字幕一区二区不卡| 色婷婷久久久亚洲一区二区三区| 中文字幕在线观看不卡| 777亚洲妇女| 国产一区二区电影| 自拍偷拍欧美激情| 91精品国产品国语在线不卡| 国产成人亚洲精品狼色在线 | 久久九九99视频| 91极品视觉盛宴| 国内精品伊人久久久久av影院| 久久午夜老司机| 欧美丝袜第三区| 麻豆一区二区三区| 一色屋精品亚洲香蕉网站| 欧美综合色免费| 国产麻豆精品theporn| 天天射综合影视| 欧美激情一区在线观看| 色系网站成人免费| 奇米综合一区二区三区精品视频| 亚洲精品一区二区三区福利| 日韩二区在线观看| 亚洲精品欧美综合四区| 3d成人h动漫网站入口| 成人三级伦理片| 精品一区二区在线看| 亚洲午夜久久久久久久久电影院 | 欧美日本在线看| 91免费版在线| 成人国产视频在线观看| 国产夫妻精品视频| 麻豆国产精品777777在线| 亚洲视频一区在线| 一区二区三区美女视频| 亚洲天堂av一区| 欧美大片日本大片免费观看| 欧美无砖砖区免费| 97久久超碰精品国产| 在线观看日韩电影| 欧美三日本三级三级在线播放| 高清在线观看日韩| 成人免费看片app下载| 不卡av电影在线播放| 久久99精品久久久久久| 亚洲欧美日韩人成在线播放| 一区二区三区在线播| 亚洲精品国产高清久久伦理二区| 一区二区三区在线不卡| 免费观看91视频大全| 亚洲日韩欧美一区二区在线| 欧美韩日一区二区三区| 国产精品卡一卡二| 麻豆成人综合网| 国产69精品久久99不卡| 在线精品视频小说1| 久久嫩草精品久久久精品一|