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

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

?? dtree.js

?? 圖書館管理系統 能滿足 查詢
?? JS
字號:
/*--------------------------------------------------|| dTree 2.05 | www.destroydrop.com/javascript/tree/ ||---------------------------------------------------|| Copyright (c) 2002-2003 Geir Landr?               ||                                                   || This script can be used freely as long as all     || copyright messages are intact.                    ||                                                   || Updated: 17.04.2003                               |  niu chen 2008/12|--------------------------------------------------*/function Node(id, pid, name, url, title, target, icon, iconOpen, open,type,value,youjian) {    this.type=type;    this.youjian=youjian;    this.value=value;	this.id = id;	this.pid = pid;	this.name = name;	this.url = url;	this.title = title;	this.target = target;	this.icon = icon;	this.iconOpen = iconOpen;	this._io =  open;	this._is = false;	this._ls = false;	this._hc = false;	this._ai = 0;	this._p;};// Tree objectfunction dTree(objName) {	this.config = {		target					: null,		folderLinks			: true,		useSelection		: true,		useCookies			: true,		useLines				: true,		useIcons				: true,		useStatusText		: false,		closeSameLevel	: false,		inOrder					: false	}	this.icon = { 		root				: 'js/image/date-trigger.gif',		folder			: 'js/image/folder2.gif',		folderOpen	: 'js/image/folderopen2.gif',		node				: 'js/image/leaf.gif',		empty				: 'js/image/empty.gif',		line				: 'js/image/line.gif',		join				: 'js/image/join.gif',		joinBottom	: 'js/image/joinbottom.gif',		plus				: 'js/image/plus.gif',		plusBottom	: 'js/image/plusbottom.gif',		minus				: 'js/image/minus.gif',		minusBottom	: 'js/image/minusbottom.gif',		nlPlus			: 'js/image/nolines_plus.gif',		nlMinus			: 'js/image/nolines_minus.gif'	};	this.obj = objName;	this.aNodes = [];	this.aIndent = [];	this.root = new Node(-1);	this.selectedNode = null;	this.selectedFound = false;	this.completed = false;    this.openid=null;};// Adds a new node to the node arraydTree.prototype.add = function(id, pid, name, url, title, target, icon, iconOpen, open,type,value,youjian) {	this.aNodes[this.aNodes.length] = new Node(id, pid, name, url, title, target, icon, iconOpen, open,type,value,youjian);};//OPENID da kai jie dian de iddTree.prototype.setopenid = function(openid){  this.openid=openid; };// Open/close all nodesdTree.prototype.openAll = function() {	this.oAll(true);};dTree.prototype.closeAll = function() {	this.oAll(false);};// Outputs the tree to the pagedTree.prototype.toString = function() {	var str = '<div class="dtree">\n';	if (document.getElementById) {		if (this.config.useCookies) this.selectedNode = this.getSelected();		str += this.addNode(this.root);	} else str += 'Browser not supported.';	str += '</div>';	if (!this.selectedFound) this.selectedNode = null;	this.completed = true;	return str;};// Creates the tree structuredTree.prototype.addNode = function(pNode) {	var str = '';	var n=0;	if (this.config.inOrder) n = pNode._ai;	for (n; n<this.aNodes.length; n++) {		if (this.aNodes[n].pid == pNode.id) {			var cn = this.aNodes[n];			cn._p = pNode;			cn._ai = n;			this.setCS(cn);			if (!cn.target && this.config.target) cn.target = this.config.target;			if (cn._hc && !cn._io && this.config.useCookies) {			//alert(this.config.useCookies+' '+cn.id+' '+cn._hc+' # '+cn._io);			//she zhi dai kai jie dian 			 if(this.openid!=null){			   if(this.openid==n){			   // alert(n+'n');			     cn._io=true;			   }			 }else{			   cn._io = this.isOpen(cn.openid);			 }			}			if (!this.config.folderLinks && cn._hc) cn.url = null;			if (this.config.useSelection && cn.id == this.selectedNode && !this.selectedFound) {					cn._is = true;					this.selectedNode = n;					this.selectedFound = true;			}			str += this.node(cn, n);			if (cn._ls) break;		}	}	return str;};// Creates the node icon, url and textdTree.prototype.node = function(node, nodeId) { //alert(this.indent(node, nodeId));	var str = '<div class="dTreeNode" > ' + this.indent(node, nodeId);	if (this.config.useIcons) {		if (!node.icon) node.icon = (this.root.id == node.pid) ? this.icon.root : ((node._hc) ? this.icon.folder : this.icon.node);		if (!node.iconOpen) node.iconOpen = (node._hc) ? this.icon.folderOpen : this.icon.node;		if (this.root.id == node.pid) {			node.icon = this.icon.root;			node.iconOpen = this.icon.root;		}		str += '<img id="i' + this.obj + nodeId + '" src="' + ((node._io) ? node.iconOpen : node.icon) + '" alt="" />';      	}	if (node.url) {//ci chu jia shi jian	     if(node.youjian!=-1){			str += '<a onContextMenu="return apy_popup('+node.youjian+', 1500, event,'+node.id+','+nodeId+')" id="s' + this.obj + nodeId + '" class="' + ((this.config.useSelection) ? ((node._is ? 'nodeSel' : 'node')) : 'node') + '" href="' + node.url + '"';		 		  }else{			    str += '<a id="s' + this.obj + nodeId + '" class="' + ((this.config.useSelection) ? ((node._is ? 'nodeSel' : 'node')) : 'node') + '" href="' + node.url + '"';			   		  }		  		if (node.title) str += ' title="' + node.title + '"';		if (node.target) str += ' target="' + node.target + '"';		if (this.config.useStatusText) str += ' onmouseover="window.status=\'' + node.name + '\';return true;" onmouseout="window.status=\'\';return true;" ';		if (this.config.useSelection && ((node._hc && this.config.folderLinks) || !node._hc))			str += ' onclick="javascript: ' + this.obj + '.s(' + nodeId + ');"';		    str += '>';	}	// you jian shi jian	else if ((!this.config.folderLinks || !node.url) && node._hc && node.pid != this.root.id)         if(node.youjian!=-1){			str += '<a onContextMenu="return apy_popup('+node.youjian+', 1500, event,'+node.id+','+nodeId+')" href="javascript: ' + this.obj + '.o(' + nodeId + ');"  id="s' + this.obj + nodeId + '" class="' + ((this.config.useSelection) ? ((node._is ? 'nodeSel' : 'node')) : 'node') + '">';		  }else{		  str += '<a href="javascript: ' + this.obj + '.o(' + nodeId + ');" id="s' + this.obj + nodeId + '" class="' + ((this.config.useSelection) ? ((node._is ? 'nodeSel' : 'node')) : 'node') + '">';		  }		   	// you jian shi jian	else{	  	  if(node.youjian!=-1){		 str += '<a onContextMenu="return apy_popup('+node.youjian+', 1500, event,'+node.id+','+nodeId+')" id="s' + 			 this.obj + nodeId + '" class="' + ((this.config.useSelection) ? ((node._is ? 'nodeSel' : 'node')) : 'node') + 			 '" href="javascript: ' + this.obj + '.o(' + nodeId + ');">';		  }else{		  str += '<a  id="s' + this.obj + nodeId + '" class="' + ((this.config.useSelection) ? ((node._is ? 'nodeSel' : 'node')) : 'node') + '">';		  }	}	  //************************* *****************	if(node.type==1) 	{ 	str += node.name+'<input type="checkbox" name="xuanzhong" value='+node.value+' />';	}else if(node.type==2){	str += node.name+'<input type="checkbox" name="xuanzhong" checked="checked" value= '+node.value+ '/>';	}else  	str += node.name;		if (node.url || ((!this.config.folderLinks || !node.url) && node._hc)) {		   }    str += '</a>';	str += '</div>';   // alert(str);	if (node._hc) {		str += '<div id="d' + this.obj + nodeId + '" class="clip" style="display:' + ((this.root.id == node.pid || node._io) ? 'block' : 'none') + ';">';		str += this.addNode(node);		str += '</div>';	}	this.aIndent.pop();	return str;};// Adds the empty and line iconsdTree.prototype.indent = function(node, nodeId) {	var str = '';	if (this.root.id != node.pid) {		for (var n=0; n<this.aIndent.length; n++)			str += '<img src="' + ( (this.aIndent[n] == 1 && this.config.useLines) ? this.icon.line : this.icon.empty ) + '" alt="" />';		(node._ls) ? this.aIndent.push(0) : this.aIndent.push(1);		if (node._hc) {			str += '<a href="javascript: ' + this.obj + '.o(' + nodeId + ');" ><img id="j' + this.obj + nodeId + '" src="';			if (!this.config.useLines) str += (node._io) ? this.icon.nlMinus : this.icon.nlPlus;			else str += ( (node._io) ? ((node._ls && this.config.useLines) ? this.icon.minusBottom : this.icon.minus) : ((node._ls && this.config.useLines) ? this.icon.plusBottom : this.icon.plus ) );			str += '" alt="" /></a>';		} else str += '<img src="' + ( (this.config.useLines) ? ((node._ls) ? this.icon.joinBottom : this.icon.join ) : this.icon.empty) + '" alt="" />';	}	return str;};// Checks if a node has any children and if it is the last siblingdTree.prototype.setCS = function(node) {	var lastId;	for (var n=0; n<this.aNodes.length; n++) {		if (this.aNodes[n].pid == node.id) node._hc = true;		if (this.aNodes[n].pid == node.pid) lastId = this.aNodes[n].id;	}	if (lastId==node.id) node._ls = true;};// Returns the selected nodedTree.prototype.getSelected = function() {	var sn = this.getCookie('cs' + this.obj);	return (sn) ? sn : null;};// Highlights the selected nodedTree.prototype.s = function(id) {	if (!this.config.useSelection) return;	var cn = this.aNodes[id];	if (cn._hc && !this.config.folderLinks) return;	if (this.selectedNode != id) {		if (this.selectedNode || this.selectedNode==0) {			eOld = document.getElementById("s" + this.obj + this.selectedNode);			eOld.className = "node";		}		eNew = document.getElementById("s" + this.obj + id);		eNew.className = "nodeSel";		this.selectedNode = id;		if (this.config.useCookies) this.setCookie('cs' + this.obj, cn.id);	}};// Toggle Open or closedTree.prototype.o = function(id) {	var cn = this.aNodes[id];	this.nodeStatus(!cn._io, id, cn._ls);	cn._io = !cn._io;	if (this.config.closeSameLevel) this.closeLevel(cn);	if (this.config.useCookies) this.updateCookie();};// Open or close all nodesdTree.prototype.oAll = function(status) {	for (var n=0; n<this.aNodes.length; n++) {		if (this.aNodes[n]._hc && this.aNodes[n].pid != this.root.id) {			this.nodeStatus(status, n, this.aNodes[n]._ls)			this.aNodes[n]._io = status;		}	}	if (this.config.useCookies) this.updateCookie();};// Opens the tree to a specific nodedTree.prototype.openTo = function(nId, bSelect, bFirst) {	if (!bFirst) {		for (var n=0; n<this.aNodes.length; n++) {			if (this.aNodes[n].id == nId) {				nId=n;				break;			}		}	}	var cn=this.aNodes[nId];	if (cn.pid==this.root.id || !cn._p) return;	cn._io = true;	cn._is = bSelect;	if (this.completed && cn._hc) this.nodeStatus(true, cn._ai, cn._ls);	if (this.completed && bSelect) this.s(cn._ai);	else if (bSelect) this._sn=cn._ai;	this.openTo(cn._p._ai, false, true);};// Closes all nodes on the same level as certain nodedTree.prototype.closeLevel = function(node) {	for (var n=0; n<this.aNodes.length; n++) {		if (this.aNodes[n].pid == node.pid && this.aNodes[n].id != node.id && this.aNodes[n]._hc) {			this.nodeStatus(false, n, this.aNodes[n]._ls);			this.aNodes[n]._io = false;			this.closeAllChildren(this.aNodes[n]);		}	}}// Closes all children of a nodedTree.prototype.closeAllChildren = function(node) {	for (var n=0; n<this.aNodes.length; n++) {		if (this.aNodes[n].pid == node.id && this.aNodes[n]._hc) {			if (this.aNodes[n]._io) this.nodeStatus(false, n, this.aNodes[n]._ls);			this.aNodes[n]._io = false;			this.closeAllChildren(this.aNodes[n]);				}	}}// Change the status of a node(open or closed)dTree.prototype.nodeStatus = function(status, id, bottom) {	eDiv	= document.getElementById('d' + this.obj + id);	eJoin	= document.getElementById('j' + this.obj + id);	if (this.config.useIcons) {		eIcon	= document.getElementById('i' + this.obj + id);		eIcon.src = (status) ? this.aNodes[id].iconOpen : this.aNodes[id].icon;	}	eJoin.src = (this.config.useLines)?	((status)?((bottom)?this.icon.minusBottom:this.icon.minus):((bottom)?this.icon.plusBottom:this.icon.plus)):	((status)?this.icon.nlMinus:this.icon.nlPlus);	eDiv.style.display = (status) ? 'block': 'none';};// [Cookie] Clears a cookiedTree.prototype.clearCookie = function() {	var now = new Date();	var yesterday = new Date(now.getTime() - 1000 * 60 * 60 * 24);	this.setCookie('co'+this.obj, 'cookieValue', yesterday);	this.setCookie('cs'+this.obj, 'cookieValue', yesterday);};// [Cookie] Sets value in a cookiedTree.prototype.setCookie = function(cookieName, cookieValue, expires, path, domain, secure) {		document.cookie =		escape(cookieName) + '=' + escape(cookieValue)		+ (expires ? '; expires=' + expires.toGMTString() : '')		+ (path ? '; path=' + path : '')		+ (domain ? '; domain=' + domain : '')		+ (secure ? '; secure' : '');};// [Cookie] Gets a value from a cookiedTree.prototype.getCookie = function(cookieName) {	var cookieValue = '';	var posName = document.cookie.indexOf(escape(cookieName) + '=');	if (posName != -1) {		var posValue = posName + (escape(cookieName) + '=').length;		var endPos = document.cookie.indexOf(';', posValue);		if (endPos != -1) cookieValue = unescape(document.cookie.substring(posValue, endPos));		else cookieValue = unescape(document.cookie.substring(posValue));	}	return (cookieValue);};// [Cookie] Returns ids of open nodes as a stringdTree.prototype.updateCookie = function() {	var str = '';	for (var n=0; n<this.aNodes.length; n++) {		if (this.aNodes[n]._io && this.aNodes[n].pid != this.root.id) {			if (str) str += '.';			str += this.aNodes[n].id;		}	}	this.setCookie('co' + this.obj, str);};// [Cookie] Checks if a node id is in a cookiedTree.prototype.isOpen = function(openid) {     if(this._io){		 return true	 }else{	    return false;		 }};// If Push and pop is not implemented by the browserif (!Array.prototype.push) {	Array.prototype.push = function array_push() {		for(var i=0;i<arguments.length;i++)			this[this.length]=arguments[i];		return this.length;	}};if (!Array.prototype.pop) {	Array.prototype.pop = function array_pop() {		lastElement = this[this.length-1];		this.length = Math.max(this.length-1,0);		return lastElement;	}};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲色图欧洲色图| 久久久99精品久久| 天堂av在线一区| 9191久久久久久久久久久| 午夜伊人狠狠久久| 日韩一级黄色片| 国产一区二区三区日韩| 国产精品视频免费| 91视频xxxx| 午夜成人免费电影| 欧美一区日韩一区| 国产精品一区二区91| 欧美精彩视频一区二区三区| av资源网一区| 亚洲成av人片一区二区| 日韩午夜av电影| 大白屁股一区二区视频| 亚洲精品高清在线| 日韩一区二区免费在线电影| 国产成人在线视频网址| 自拍av一区二区三区| 欧美年轻男男videosbes| 国产在线观看一区二区| 中文一区二区在线观看| 欧美色视频在线| 经典三级在线一区| 一区二区三区在线视频观看58 | 成人精品一区二区三区四区| 亚洲一区二区在线观看视频 | 国产清纯白嫩初高生在线观看91| 色综合 综合色| 麻豆精品精品国产自在97香蕉| 国产精品久久久久久久久久久免费看 | 色婷婷狠狠综合| 蜜桃久久久久久久| 亚洲欧美视频在线观看视频| 日韩精品一区二区三区蜜臀| 91久久精品一区二区三区| 国内久久婷婷综合| 亚洲国产日韩精品| 中文一区二区在线观看| 欧美一级高清片| 色成年激情久久综合| 国产精品一二三四五| 亚洲午夜久久久| 国产精品视频免费看| 日韩女优毛片在线| 欧美色图在线观看| 91在线视频网址| 国产精品白丝av| 免费在线观看成人| 亚洲一区二区三区四区在线免费观看| 国产亚洲精品aa午夜观看| 欧美一区二区三区爱爱| 欧美日韩精品欧美日韩精品一| 91视频你懂的| 成人免费视频播放| 国产一区二区三区免费| 蜜臀av性久久久久蜜臀aⅴ| 亚洲大片在线观看| 夜夜爽夜夜爽精品视频| 一区免费观看视频| 国产精品电影院| 国产精品欧美经典| 国产丝袜在线精品| 精品91自产拍在线观看一区| 欧美丰满少妇xxxbbb| 在线精品视频免费观看| 91啪亚洲精品| 91免费小视频| 色综合久久久网| 一本高清dvd不卡在线观看| 99re热视频精品| 91香蕉视频mp4| 91免费版在线| 色哟哟亚洲精品| 在线欧美小视频| 欧美四级电影网| 4438x成人网最大色成网站| 欧美日韩精品福利| 制服丝袜成人动漫| 欧美另类一区二区三区| 欧美日本乱大交xxxxx| 欧美日韩成人激情| 9191成人精品久久| 欧美一级理论片| 欧美mv日韩mv| 国产喷白浆一区二区三区| 国产女主播一区| 国产精品久久久久婷婷二区次| 亚洲欧美日韩国产成人精品影院| 亚洲精品国产a久久久久久| 亚洲一区二区中文在线| 五月天久久比比资源色| 午夜精品久久久久影视| 麻豆精品在线视频| 国模少妇一区二区三区| 成人av网站在线观看免费| eeuss鲁一区二区三区| 在线精品视频小说1| 91精品国产综合久久久久久久久久| 日韩欧美国产一区在线观看| 亚洲国产精品精华液ab| 玉足女爽爽91| 激情av综合网| 99久久综合狠狠综合久久| 日本韩国欧美一区二区三区| 欧美一区二区三区在线视频| 久久久美女毛片| 亚洲欧美日韩在线不卡| 日韩精品1区2区3区| 韩国毛片一区二区三区| 大桥未久av一区二区三区中文| 一本在线高清不卡dvd| 91精品国产综合久久久久久| 国产无人区一区二区三区| 欧美国产日韩在线观看| 亚洲一区在线观看免费| 韩国一区二区在线观看| 色国产综合视频| 久久久综合视频| 一区二区欧美国产| 国产精品66部| 欧美美女网站色| 综合色天天鬼久久鬼色| 老司机免费视频一区二区| 99r国产精品| 久久久久久久久一| 亚洲国产精品欧美一二99| 狠狠色狠狠色综合日日91app| 在线观看视频91| 国产日韩精品一区二区三区| 日韩激情视频在线观看| 成人av小说网| 久久嫩草精品久久久精品一| 亚洲成人av电影在线| 成人国产精品视频| 精品国产乱码久久久久久老虎| 夜夜精品视频一区二区| 国产成人亚洲综合色影视| 欧美日韩精品一区二区在线播放| 国产精品国产自产拍高清av王其| 麻豆91在线看| 日本黄色一区二区| 国产精品日韩成人| 久久精品国产色蜜蜜麻豆| 色久综合一二码| 中文字幕中文在线不卡住| 国产美女一区二区三区| 日韩精品一区二区三区中文精品| 亚洲国产日韩在线一区模特| 91丝袜呻吟高潮美腿白嫩在线观看| 久久久久久一二三区| 久久精品国产亚洲高清剧情介绍 | 欧美午夜精品理论片a级按摩| 久久精品在线观看| 日韩黄色小视频| 欧美精品日韩精品| 亚洲二区在线观看| 欧美性色欧美a在线播放| 亚洲欧美一区二区三区孕妇| 一本久久综合亚洲鲁鲁五月天| ●精品国产综合乱码久久久久 | 精品在线观看视频| 日韩美女主播在线视频一区二区三区 | 欧美精品乱码久久久久久按摩| 亚洲国产裸拍裸体视频在线观看乱了| 色偷偷88欧美精品久久久| 国产精品美女久久福利网站| jizzjizzjizz欧美| 国产精品毛片高清在线完整版| 成人性生交大片免费看中文 | 精品久久一二三区| 九色|91porny| 欧美经典一区二区三区| 国产成人自拍网| 日韩久久一区二区| 91精彩视频在线观看| 亚洲第一会所有码转帖| 欧美一卡2卡三卡4卡5免费| 青青草原综合久久大伊人精品| 欧美一区二区精美| 国产一区二区在线影院| 中文字幕一区日韩精品欧美| 色天使色偷偷av一区二区| 亚洲精选免费视频| 欧美色爱综合网| 蓝色福利精品导航| 欧美国产97人人爽人人喊| 91麻豆国产在线观看| 亚洲第一激情av| 欧美mv日韩mv国产网站app| 国产999精品久久| 亚洲激情成人在线| 欧美一区二区久久久| 高清shemale亚洲人妖| 亚洲一区二区三区在线看| 欧美一区二区三区视频在线| 国产美女在线精品| 亚洲视频中文字幕|