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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? xtree.js

?? Struts_Spring_Hibernate實(shí)現(xiàn)的基于RBAC的權(quán)限管理系統(tǒng)
?? JS
?? 第 1 頁 / 共 2 頁
字號(hào):
/*----------------------------------------------------------------------------\
|                       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        : 'images/foldericon.png',
	openRootIcon    : 'images/openfoldericon.png',
	folderIcon      : 'images/foldericon.png',
	openFolderIcon  : 'images/openfoldericon.png',
	fileIcon        : 'images/file.png',
	iIcon           : 'images/I.png',
	lIcon           : 'images/L.png',
	lMinusIcon      : 'images/Lminus.png',
	lPlusIcon       : 'images/Lplus.png',
	tIcon           : 'images/T.png',
	tMinusIcon      : 'images/Tminus.png',
	tPlusIcon       : 'images/Tplus.png',
	blankIcon       : '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;
			}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美激情一区在线| 欧美一区二区三区播放老司机| 国产欧美日韩精品一区| 国产乱码精品一区二区三| 国产午夜精品在线观看| 成人国产精品免费观看动漫| 亚洲另类春色校园小说| 欧美视频三区在线播放| 另类小说视频一区二区| 国产日韩高清在线| 91福利视频网站| 美洲天堂一区二卡三卡四卡视频 | 久久成人av少妇免费| 久久午夜免费电影| 波多野结衣在线一区| 亚洲国产日产av| 日韩你懂的在线播放| 国产69精品久久99不卡| 亚洲精品视频在线看| 91精品国产综合久久久久久久久久| 日本成人在线不卡视频| 国产精品天干天干在线综合| 欧美视频日韩视频在线观看| 国产一区二区精品久久| 亚洲激情图片qvod| 欧美大片一区二区| 色综合久久九月婷婷色综合| 琪琪久久久久日韩精品| 一色桃子久久精品亚洲| 日韩女同互慰一区二区| 一本到不卡精品视频在线观看| 另类欧美日韩国产在线| 亚洲乱码国产乱码精品精小说| 日韩欧美一区二区在线视频| 波多野结衣在线一区| 蜜桃传媒麻豆第一区在线观看| 亚洲卡通欧美制服中文| 久久综合色综合88| 欧美性xxxxxx少妇| fc2成人免费人成在线观看播放| 日产精品久久久久久久性色| 椎名由奈av一区二区三区| 日韩精品一区国产麻豆| 欧美日韩国产乱码电影| av色综合久久天堂av综合| 韩国毛片一区二区三区| 亚洲a一区二区| 伊人色综合久久天天人手人婷| 久久久亚洲高清| 日韩一区二区在线看| 欧美在线视频日韩| 成a人片国产精品| 国产成人精品一区二区三区网站观看| 日韩福利电影在线| 亚洲电影第三页| 亚洲一区二区在线视频| 国产精品久久久久四虎| 国产人妖乱国产精品人妖| 精品国产三级电影在线观看| 欧美日韩色综合| 欧美在线视频全部完| 96av麻豆蜜桃一区二区| 国产成人福利片| 国产精品夜夜嗨| 国产成a人亚洲精品| 国产乱人伦偷精品视频不卡| 激情五月播播久久久精品| 免费在线观看不卡| 蜜桃视频第一区免费观看| 日本午夜精品一区二区三区电影| 亚洲444eee在线观看| 午夜激情一区二区三区| 日日嗨av一区二区三区四区| 日韩国产欧美在线视频| 日韩影院在线观看| 日韩成人午夜精品| 麻豆精品国产传媒mv男同| 极品美女销魂一区二区三区| 看电影不卡的网站| 久久精品国内一区二区三区| 久久99这里只有精品| 国内久久精品视频| 成人中文字幕合集| av中文字幕不卡| 一本色道a无线码一区v| 欧美私模裸体表演在线观看| 欧美日韩亚洲综合在线| 91精品久久久久久久99蜜桃| 日韩一区二区在线观看视频播放| 精品国产一区二区亚洲人成毛片| 26uuu亚洲综合色| 亚洲国产成人私人影院tom| 最新日韩av在线| 亚洲妇女屁股眼交7| 欧美aaaaa成人免费观看视频| 精品午夜一区二区三区在线观看| 国产乱码字幕精品高清av| 99久久99久久精品国产片果冻 | 欧美极品美女视频| **欧美大码日韩| 日韩精品乱码av一区二区| 久久91精品久久久久久秒播| 高清成人免费视频| 在线视频国内自拍亚洲视频| 日韩一级欧美一级| 国产精品水嫩水嫩| 香蕉av福利精品导航| 国产剧情一区二区| 欧洲一区二区三区在线| 日韩精品一区二区三区中文精品 | 亚洲精品菠萝久久久久久久| 五月天欧美精品| 国产成人无遮挡在线视频| 97se狠狠狠综合亚洲狠狠| 欧美一区二区精美| 中文一区二区在线观看| 午夜亚洲福利老司机| 国产91精品一区二区麻豆亚洲| 在线亚洲人成电影网站色www| 欧美大片一区二区三区| 亚洲免费观看高清完整版在线观看熊 | 久久色中文字幕| 一区二区三区四区亚洲| 国产一区视频网站| 欧美性猛交xxxx黑人交| 国产欧美日韩综合精品一区二区| 亚洲大片一区二区三区| 成人a区在线观看| 欧美刺激午夜性久久久久久久| 一区二区三区在线视频观看| 国产大片一区二区| 91精品国产一区二区人妖| 亚洲女与黑人做爰| 国产精品一区二区在线观看不卡 | 欧美一区二区三区在线电影| 亚洲人精品午夜| 国产乱码字幕精品高清av| 69堂成人精品免费视频| **网站欧美大片在线观看| 国产精品自拍av| 欧美xxx久久| 五月婷婷久久丁香| 色欧美片视频在线观看在线视频| 久久久精品人体av艺术| 免费成人在线观看视频| 欧美日韩和欧美的一区二区| 亚洲男人的天堂在线aⅴ视频| 国产91露脸合集magnet| 26uuu精品一区二区在线观看| 日本不卡视频在线| 欧美老肥妇做.爰bbww视频| 一区二区三区在线视频免费 | 欧美日韩国产综合草草| 亚洲精品乱码久久久久久久久| 国产91精品入口| 中文字幕不卡的av| 国产在线精品一区在线观看麻豆| 日韩视频在线观看一区二区| 午夜精品久久久久久久99水蜜桃| 欧美亚洲综合一区| 亚洲电影一级黄| 7777精品伊人久久久大香线蕉最新版| 一级做a爱片久久| 欧洲另类一二三四区| 一区二区三区精品久久久| 欧美亚洲高清一区二区三区不卡| 一区二区三区在线视频观看58 | 春色校园综合激情亚洲| 国产欧美视频一区二区| 成人国产在线观看| 亚洲久本草在线中文字幕| 欧美性色欧美a在线播放| 午夜一区二区三区视频| 51精品秘密在线观看| 蜜乳av一区二区| 久久久久亚洲蜜桃| 成人激情小说乱人伦| 亚洲欧美日韩精品久久久久| 在线观看成人免费视频| 午夜精品久久久久久久99水蜜桃| 欧美一区二区三区在| 国产一区二区三区av电影| 中文字幕巨乱亚洲| 色久综合一二码| 青草av.久久免费一区| 久久久www免费人成精品| 成人午夜碰碰视频| 亚洲黄色尤物视频| 日韩视频一区二区三区| 国模娜娜一区二区三区| 国产精品久久久久一区二区三区| 色老汉一区二区三区| 蜜臀国产一区二区三区在线播放| 精品国产乱子伦一区| 本田岬高潮一区二区三区| 午夜一区二区三区视频| 久久先锋资源网| 欧洲一区二区三区在线| 国精产品一区一区三区mba桃花| 国产精品精品国产色婷婷|