• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/arm-uclibc/target/www/

Lines Matching defs:node

35 		node				: 'page.gif',
53 // Adds a new node to the node array
85 str += this.node(cn, n);
92 // Creates the node icon, url and text
93 dTree.prototype.node = function(node, nodeId) {
94 var str = '<div class="dTreeNode">' + this.indent(node, nodeId);
96 if (!node.icon) node.icon = (this.root.id == node.pid) ? this.icon.root : this.icon.folder;
97 if (!node.iconOpen) node.iconOpen = this.icon.folderOpen ;
98 if (this.root.id == node.pid) {
99 node.icon = this.icon.root;
100 node.iconOpen = this.icon.root;
102 str += '<img id="i' + this.obj + nodeId + '" src="' + ((node.io == '1') ? node.iconOpen : node.icon) + '" alt="" />';
104 if(this.root.id == node.pid){
108 str += '<a id="s' + this.obj + nodeId + '" href="javascript: ' + this.obj + '.s(' + nodeId + ');" class="'+((node.id == this.selectedNode) ? 'nodeSel' : 'node')+'">';
110 str += node.name;
114 if (node._hc) {
115 str += '<div id="d' + this.obj + nodeId + '" class="clip" style="display:' + ((this.root.id == node.pid || node.io == '1' ) ? 'block' : 'none') + ';">';
116 str += this.addNode(node);
129 dTree.prototype.indent = function(node, nodeId) {
131 if (this.root.id != node.pid) {
134 (node._ls) ? this.aIndent.push(0) : this.aIndent.push(1);
135 if (node.shc == '1') {
138 str += ( (node.io == '1') ? ((node._ls ) ? this.icon.minusBottom : this.icon.minus) : ((node._ls ) ? this.icon.plusBottom : this.icon.plus ) );
141 } else str += '<img id="j' + this.obj + nodeId + '" src="' + ((node._ls) ? this.icon.joinBottom : this.icon.join ) + '" alt="" />';
146 // Checks if a node has any children and if it is the last sibling
147 dTree.prototype.setCS = function(node) {
150 if (this.aNodes[n].pid == node.id) node._hc = true;
151 if (this.aNodes[n].pid == node.pid) lastId = this.aNodes[n].id;
153 if (lastId==node.id) node._ls = true;
156 // Highlights the selected node
167 eOld.className = "node";
175 var str = eval('node' + id);