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

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

?? xloadtree.js

?? java版源代碼,里面包含很多源代碼,大家可以看看.
?? JS
字號:
/*----------------------------------------------------------------------------\
|                               XLoadTree 1.11                                |
|-----------------------------------------------------------------------------|
|                         Created by Erik Arvidsson                           |
|                  (http://webfx.eae.net/contact.html#erik)                   |
|                      For WebFX (http://webfx.eae.net/)                      |
|-----------------------------------------------------------------------------|
| An extension to xTree that allows sub trees to be loaded at runtime by      |
| reading XML files from the server. Works with IE5+ and Mozilla 1.0+         |
|-----------------------------------------------------------------------------|
|                   Copyright (c) 1999 - 2002 Erik Arvidsson                  |
|-----------------------------------------------------------------------------|
| This software is provided "as is", without warranty of any kind, express or |
| implied, including  but not limited  to the warranties of  merchantability, |
| fitness for a particular purpose and noninfringement. In no event shall the |
| authors or  copyright  holders be  liable for any claim,  damages or  other |
| liability, whether  in an  action of  contract, tort  or otherwise, arising |
| from,  out of  or in  connection with  the software or  the  use  or  other |
| dealings in the software.                                                   |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| This  software is  available under the  three different licenses  mentioned |
| below.  To use this software you must chose, and qualify, for one of those. |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| The WebFX Non-Commercial License          http://webfx.eae.net/license.html |
| Permits  anyone the right to use the  software in a  non-commercial context |
| free of charge.                                                             |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| The WebFX Commercial license           http://webfx.eae.net/commercial.html |
| Permits the  license holder the right to use  the software in a  commercial |
| context. Such license must be specifically obtained, however it's valid for |
| any number of  implementations of the licensed software.                    |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| GPL - The GNU General Public License    http://www.gnu.org/licenses/gpl.txt |
| Permits anyone the right to use and modify the software without limitations |
| as long as proper  credits are given  and the original  and modified source |
| code are included. Requires  that the final product, software derivate from |
| the original  source or any  software  utilizing a GPL  component, such  as |
| this, is also licensed under the GPL license.                               |
|-----------------------------------------------------------------------------|
| 2001-09-27 | Original Version Posted.                                       |
| 2002-01-19 | Added some simple error handling and string templates for      |
|            | reporting the errors.                                          |
| 2002-01-28 | Fixed loading issues in IE50 and IE55 that made the tree load  |
|            | twice.                                                         |
| 2002-10-10 | (1.1) Added reload method that reloads the XML file from the   |
|            | server.                                                        |
/ 2003-05-06 | Added support for target attribute                             |
|-----------------------------------------------------------------------------|
| Dependencies: xtree.js - original xtree library                             |
|               xtree.css - simple css styling of xtree                       |
|               xmlextras.js - provides xml http objects and xml document     |
|                              objects                                        |
|-----------------------------------------------------------------------------|
| Created 2001-09-27 | All changes are in the log above. | Updated 2003-05-06 |
\----------------------------------------------------------------------------*/


webFXTreeConfig.loadingText = "Loading...";
webFXTreeConfig.loadErrorTextTemplate = "Error loading \"%1%\"";
webFXTreeConfig.emptyErrorTextTemplate = "Error \"%1%\" does not contain any tree items";

/*
 * WebFXLoadTree class
 */

function WebFXLoadTree(sText, sXmlSrc, sAction, sBehavior, sIcon, sOpenIcon) {
	// call super
	this.WebFXTree = WebFXTree;
	this.WebFXTree(sText, sAction, sBehavior, sIcon, sOpenIcon);

	// setup default property values
	this.src = sXmlSrc;
	this.loading = false;
	this.loaded = false;
	this.errorText = "";

	// check start state and load if open
	if (this.open)
		_startLoadXmlTree(this.src, this);
	else {
		// and create loading item if not
		this._loadingItem = new WebFXTreeItem(webFXTreeConfig.loadingText);
		this.add(this._loadingItem);
	}
}

WebFXLoadTree.prototype = new WebFXTree;

// override the expand method to load the xml file
WebFXLoadTree.prototype._webfxtree_expand = WebFXTree.prototype.expand;
WebFXLoadTree.prototype.expand = function() {
	if (!this.loaded && !this.loading) {
		// load
		_startLoadXmlTree(this.src, this);
	}
	this._webfxtree_expand();
};

/*
 * WebFXLoadTreeItem class
 */

function WebFXLoadTreeItem(sText, sXmlSrc, sAction, eParent, sIcon, sOpenIcon) {
	// call super
	this.WebFXTreeItem = WebFXTreeItem;
	this.WebFXTreeItem(sText, sAction, eParent, sIcon, sOpenIcon);

	// setup default property values
	this.src = sXmlSrc;
	this.loading = false;
	this.loaded = false;
	this.errorText = "";

	// check start state and load if open
	if (this.open)
		_startLoadXmlTree(this.src, this);
	else {
		// and create loading item if not
		this._loadingItem = new WebFXTreeItem(webFXTreeConfig.loadingText);
		this.add(this._loadingItem);
	}
}

WebFXLoadTreeItem.prototype = new WebFXTreeItem;

// override the expand method to load the xml file
WebFXLoadTreeItem.prototype._webfxtreeitem_expand = WebFXTreeItem.prototype.expand;
WebFXLoadTreeItem.prototype.expand = function() {
	if (!this.loaded && !this.loading) {
		// load
		_startLoadXmlTree(this.src, this);
	}
	this._webfxtreeitem_expand();
};

// reloads the src file if already loaded
WebFXLoadTree.prototype.reload =
WebFXLoadTreeItem.prototype.reload = function () {
	// if loading do nothing
	if (this.loaded) {
		var open = this.open;
		// remove
		while (this.childNodes.length > 0)
			this.childNodes[this.childNodes.length - 1].remove();

		this.loaded = false;

		this._loadingItem = new WebFXTreeItem(webFXTreeConfig.loadingText);
		this.add(this._loadingItem);

		if (open)
			this.expand();
	}
	else if (this.open && !this.loading)
		_startLoadXmlTree(this.src, this);
};

/*
 * Helper functions
 */

// creates the xmlhttp object and starts the load of the xml document
function _startLoadXmlTree(sSrc, jsNode) {
	if (jsNode.loading || jsNode.loaded)
		return;
	jsNode.loading = true;
	var xmlHttp = XmlHttp.create();
	xmlHttp.open("GET", sSrc, true);	// async
	xmlHttp.onreadystatechange = function () {
		if (xmlHttp.readyState == 4) {
			_xmlFileLoaded(xmlHttp.responseXML, jsNode);
		}
	};
	// call in new thread to allow ui to update
	window.setTimeout(function () {
		xmlHttp.send(null);
	}, 10);
}


// Converts an xml tree to a js tree. See article about xml tree format
function _xmlTreeToJsTree(oNode) {
	// retreive attributes
	var text = oNode.getAttribute("text");
	var action = oNode.getAttribute("action");
	var parent = null;
	var icon = oNode.getAttribute("icon");
	var openIcon = oNode.getAttribute("openIcon");
	var src = oNode.getAttribute("src");
	var target = oNode.getAttribute("target");
	// create jsNode
	var jsNode;
	if (src != null && src != "")
		jsNode = new WebFXLoadTreeItem(text, src, action, parent, icon, openIcon);
	else
		jsNode = new WebFXTreeItem(text, action, parent, icon, openIcon);

	if (target != "")
		jsNode.target = target;

	// go through childNOdes
	var cs = oNode.childNodes;
	var l = cs.length;
	for (var i = 0; i < l; i++) {
		if (cs[i].tagName == "tree")
			jsNode.add( _xmlTreeToJsTree(cs[i]), true );
	}

	return jsNode;
}

// Inserts an xml document as a subtree to the provided node
function _xmlFileLoaded(oXmlDoc, jsParentNode) {
	if (jsParentNode.loaded)
		return;

	var bIndent = false;
	var bAnyChildren = false;
	jsParentNode.loaded = true;
	jsParentNode.loading = false;

	// check that the load of the xml file went well
	if( oXmlDoc == null || oXmlDoc.documentElement == null) {
		alert(oXmlDoc.xml);
		jsParentNode.errorText = parseTemplateString(webFXTreeConfig.loadErrorTextTemplate,
							jsParentNode.src);
	}
	else {
		// there is one extra level of tree elements
		var root = oXmlDoc.documentElement;

		// loop through all tree children
		var cs = root.childNodes;
		var l = cs.length;
		for (var i = 0; i < l; i++) {
			if (cs[i].tagName == "tree") {
				bAnyChildren = true;
				bIndent = true;
				jsParentNode.add( _xmlTreeToJsTree(cs[i]), true);
			}
		}

		// if no children we got an error
		if (!bAnyChildren)
			jsParentNode.errorText = parseTemplateString(webFXTreeConfig.emptyErrorTextTemplate,
										jsParentNode.src);
	}

	// remove dummy
	if (jsParentNode._loadingItem != null) {
		jsParentNode._loadingItem.remove();
		bIndent = true;
	}

	if (bIndent) {
		// indent now that all items are added
		jsParentNode.indent();
	}

	// show error in status bar
	if (jsParentNode.errorText != "")
		window.status = jsParentNode.errorText;
}

// parses a string and replaces %n% with argument nr n
function parseTemplateString(sTemplate) {
	var args = arguments;
	var s = sTemplate;

	s = s.replace(/\%\%/g, "%");

	for (var i = 1; i < args.length; i++)
		s = s.replace( new RegExp("\%" + i + "\%", "g"), args[i] )

	return s;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品久久综合| 91精品国产综合久久精品图片| 91浏览器入口在线观看| 91精品视频网| 一区二区三区在线视频免费观看| 麻豆一区二区三区| 在线亚洲人成电影网站色www| 精品国产电影一区二区| 亚洲国产cao| 91在线观看成人| 国产亚洲制服色| 日本成人中文字幕在线视频| 欧美性做爰猛烈叫床潮| 国产精品国产三级国产a| 国模冰冰炮一区二区| 欧美日韩免费电影| 一区二区免费在线| 91欧美激情一区二区三区成人| 欧美不卡在线视频| 免费亚洲电影在线| 欧美肥妇bbw| 亚洲一区日韩精品中文字幕| 成人午夜激情片| 国产精品少妇自拍| 国产成人欧美日韩在线电影| 欧美tickle裸体挠脚心vk| 日韩专区欧美专区| 欧美精品一级二级三级| 亚洲国产人成综合网站| 色综合天天做天天爱| 国产精品动漫网站| 91欧美一区二区| 怡红院av一区二区三区| 久久久久久**毛片大全| 国产精品黄色在线观看| 国产69精品久久99不卡| 精品国内片67194| 免费成人你懂的| 欧美一级一区二区| 理论片日本一区| 久久先锋影音av| 国产精品一区二区不卡| 国产亚洲一区二区三区在线观看| 国产美女视频一区| 亚洲欧洲www| 一本大道av一区二区在线播放| 樱花草国产18久久久久| 欧美日韩亚洲不卡| 蜜桃精品视频在线| 国产欧美日韩综合| 91福利社在线观看| 蜜臀av国产精品久久久久| 久久色视频免费观看| kk眼镜猥琐国模调教系列一区二区 | 久久精品人人做| 成人免费视频播放| 亚洲一区二区在线免费观看视频| 欧美视频一区二区在线观看| 日韩av在线发布| 国产色综合一区| 欧亚洲嫩模精品一区三区| 日日夜夜精品视频天天综合网| 日韩一区二区三区视频| 成人精品gif动图一区| 亚洲高清免费观看高清完整版在线观看| 欧美精品久久久久久久多人混战| 精品亚洲国产成人av制服丝袜 | 国产乱一区二区| 日韩一区日韩二区| 91精品国产综合久久精品性色| 国产精品亚洲午夜一区二区三区 | 亚洲女与黑人做爰| 91精品国产一区二区三区香蕉| 国产成人综合在线播放| 亚洲一区二区三区四区在线免费观看 | 欧美日韩电影一区| 国产剧情在线观看一区二区| 一级特黄大欧美久久久| 国产亚洲综合在线| 91精品福利在线一区二区三区 | 国产精品一区二区无线| 五月激情六月综合| 亚洲欧洲美洲综合色网| 日韩欧美电影在线| 欧美自拍偷拍一区| 成人手机在线视频| 美女看a上一区| 无码av免费一区二区三区试看| 日本一区二区三区四区| 日韩一级片在线观看| 欧美三级视频在线| 97成人超碰视| 成人黄色在线看| 国产综合久久久久久鬼色| 亚洲综合另类小说| 亚洲欧美激情在线| 国产精品毛片久久久久久久| 欧美大白屁股肥臀xxxxxx| 欧美性色欧美a在线播放| 99久久免费视频.com| 国产大片一区二区| 国产精品系列在线播放| 玖玖九九国产精品| 午夜精品一区在线观看| 一区二区三区四区国产精品| 国产精品乱人伦中文| 国产蜜臀av在线一区二区三区| 日韩欧美电影一二三| 日韩午夜精品电影| 欧美sm美女调教| 久久先锋影音av鲁色资源网| 久久中文字幕电影| 欧美精品一区二区三区高清aⅴ| 日韩一区和二区| 日韩精品一区在线| 久久伊人中文字幕| 久久婷婷综合激情| 国产欧美一区二区三区鸳鸯浴| 精品国产一区二区精华| 久久久久国色av免费看影院| 久久精品夜色噜噜亚洲a∨| 欧美激情一区二区三区蜜桃视频| 久久精品欧美日韩| 国产精品久久久爽爽爽麻豆色哟哟| 国产精品精品国产色婷婷| 综合久久久久久| 亚洲bdsm女犯bdsm网站| 日韩中文字幕亚洲一区二区va在线 | 自拍偷在线精品自拍偷无码专区| 国产精品青草久久| 亚洲永久精品国产| 日韩电影在线看| 韩国精品一区二区| fc2成人免费人成在线观看播放 | 欧美群妇大交群中文字幕| 8v天堂国产在线一区二区| 日韩一区二区中文字幕| 久久久久国产免费免费| 亚洲精品乱码久久久久久日本蜜臀| 一区二区三区在线视频免费观看| 日韩一区精品视频| 激情综合一区二区三区| 99vv1com这只有精品| 欧美三级电影网| 久久综合久久综合九色| 亚洲精品中文字幕乱码三区| 日韩一区精品字幕| 成人h精品动漫一区二区三区| 欧美日韩中文精品| 久久女同精品一区二区| 一区二区免费在线| 韩国女主播成人在线观看| 一本一道波多野结衣一区二区| 91.com在线观看| 国产精品久久久久久久久免费丝袜| 午夜精品免费在线观看| 国产成人在线视频网站| 91福利资源站| 国产日韩欧美不卡| 亚洲mv在线观看| 99精品欧美一区| 精品国产凹凸成av人网站| 综合网在线视频| 国产一区二区三区免费看| 欧美专区在线观看一区| 欧美激情一区二区三区全黄| 亚瑟在线精品视频| 成人av综合一区| 久久影音资源网| 青青草国产成人av片免费| 91视频在线观看| 久久久久久久久岛国免费| 亚洲不卡在线观看| 色偷偷成人一区二区三区91| 久久日韩精品一区二区五区| 偷拍日韩校园综合在线| 91丝袜呻吟高潮美腿白嫩在线观看| 精品福利一区二区三区 | 中文字幕乱码日本亚洲一区二区| 偷拍自拍另类欧美| 欧美图区在线视频| 国产精品伦理一区二区| 国产在线视频不卡二| 欧美一区二区三区白人| 亚洲欧美视频一区| aaa亚洲精品| 国产精品久久久久久久久免费樱桃 | 成人高清av在线| 久久久www成人免费毛片麻豆| 麻豆成人久久精品二区三区红 | 精品欧美乱码久久久久久| 亚洲福利一区二区| 色视频欧美一区二区三区| 国产精品九色蝌蚪自拍| 99久久综合狠狠综合久久| 欧美激情一区三区| av网站免费线看精品| 亚洲欧洲成人精品av97| 色综合天天综合网天天狠天天 | 亚洲国产精品黑人久久久|