Lines Matching refs:id

27 function Node(dokuid, id, pid, name, hns, isdir, ajax) {  argument
29 this.id = id;
91 dTree.prototype.add = function(dokuid, id, pid, name, hns, isdir, ajax) { argument
92 this.aNodes[this.aNodes.length] = new Node(dokuid, id, pid, name, hns,
150 if (this.aNodes[n].pid == pNode.id) {
157 cn._io = this.isOpen(cn.id);
161 } else if (cn.id == this.selectedNode && !this.selectedFound) {
200 node.icon = (this.root.id == node.pid) ? this.icon.root
205 if (this.root.id == node.pid) {
223 } else if (node.pid != this.root.id) {
234 + ((this.root.id == node.pid || node._io) ? 'block' : 'none')
248 if (this.root.id != node.pid) {
279 if (this.aNodes[n].pid == node.id) {
283 lastId = this.aNodes[n].id;
286 if (lastId == node.id) {
298 dTree.prototype.s = function(id) { argument
299 var eOld, eNew, cn = this.aNodes[id];
300 if (this.selectedNode != id) {
301 eNew = $("s" + this.obj + id);
310 this.selectedNode = id;
312 this.setCookie('cs' + this.obj, cn.id);
318 dTree.prototype.o = function(id) { argument
319 var cn = this.aNodes[id];
320 this.nodeStatus(!cn._io, id, cn._ls);
332 if (this.aNodes[n]._hc && this.aNodes[n].pid != this.root.id) {
347 if (this.aNodes[n].id == nId) {
355 if (cn.pid == this.root.id || !cn._p) {
379 dTree.prototype.nodeStatus = function(status, id, bottom) { argument
380 if (status && !this.fill(id)) {
384 eJoin = jQuery('#j' + this.obj + id)[0];
385 eIcon = jQuery('#i' + this.obj + id)[0];
386 eIcon.src = (status) ? this.aNodes[id].iconOpen : this.aNodes[id].icon;
389 jQuery('#d' + this.obj + id)[0].style.display = (status) ? 'block' : 'none';
429 if (this.aNodes[n]._io && this.aNodes[n].pid != this.root.id) {
433 str += this.aNodes[n].id;
440 dTree.prototype.isOpen = function(id) { argument
443 if (aOpen[n] == id) {
464 this.openTo(cn.id, false, true);
477 this.openTo(cna.id, false, true);
481 dTree.prototype.fill = function(id) { argument
482 if (id == -1 || this.aNodes[id]._ok) {
485 var n = id, eLoad, node, a, rd, ln, eDiv;
505 id = rd[ln];
506 a = this.aNodes[id];
507 eDiv = jQuery('#d' + this.obj + id)[0];
604 var w, div, id, dtree, dtreel, self, node = jQuery('#s' + this.obj + n)[0];
608 id = (this.aNodes[n].hns) ? this.aNodes[n].hns : this.aNodes[n].dokuid;
610 indexmenu_createTocMenu('req=toc&id=' + decodeURIComponent(id),
689 ajxnode[2] = (ajxnode[2] == 0) ? node.id : ajxnode[2] + plus;
698 selft.openTo(node.id, false, true);
721 var li, id, html, type, node, self, cmenu, cdtree, rmenu, X = 0, Y = 0, i;
741 id = (node.hns) ? node.hns : node.dokuid;