WebRoot/js/dtree.js

(开头部分) 12KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/*--------------------------------------------------|
| 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                               |
|--------------------------------------------------*/

// Node object
function Node(id, pid, name, url, title, target, icon, iconOpen, open) {
	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 || false;
	this._is = false;
	this._ls = false;
	this._hc = false;
	this._ai = 0;
	this._p;
};

// Tree object
function 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				: 'images/left/base.gif',
		folder			: 'images/left/folder.gif',
		folderOpen	: 'images/left/folderopen.gif',
		node				: 'images/left/page.gif',
		empty				: 'images/left/empty.gif',
		line				: 'images/left/line.gif',
		join				: 'images/left/join.gif',
		joinBottom	: 'images/left/joinbottom.gif',
		plus				: 'images/left/plus.gif',
		plusBottom	: 'images/left/plusbottom.gif',
		minus				: 'images/left/minus.gif',
		minusBottom	: 'images/left/minusbottom.gif',
		nlPlus			: 'images/left/nolines_plus.gif',
		quit			: 'images/left/quit.gif',
		nlMinus			: 'images/left/nolines_minus.gif'
	};
	this.obj = objName;
后面还有 291 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。