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

Lines Matching refs:id

13 function Node(id, pid, name, io, shc, icon, iconOpen, open) {
14 this.id = id;
54 dTree.prototype.add = function(id, pid, name, io, shc, icon, iconOpen, open) {
55 this.aNodes[this.aNodes.length] = new Node(id, pid, name, io, shc, icon, iconOpen, open);
74 if (this.aNodes[n].pid == pNode.id) {
80 if ( cn.id == this.selectedNode ) {
96 if (!node.icon) node.icon = (this.root.id == node.pid) ? this.icon.root : this.icon.folder;
98 if (this.root.id == node.pid) {
102 str += '<img id="i' + this.obj + nodeId + '" src="' + ((node.io == '1') ? node.iconOpen : node.icon) + '" alt="" />';
104 if(this.root.id == node.pid){
105 str += '<a id="s' + this.obj + nodeId + '">';
108 str += '<a id="s' + this.obj + nodeId + '" href="javascript: ' + this.obj + '.s(' + nodeId + ');" class="'+((node.id == this.selectedNode) ? 'nodeSel' : 'node')+'">';
115 str += '<div id="d' + this.obj + nodeId + '" class="clip" style="display:' + ((this.root.id == node.pid || node.io == '1' ) ? 'block' : 'none') + ';">';
120 str += '<div id="d' + this.obj + nodeId + '" class="clip"></div>';
131 if (this.root.id != node.pid) {
136 str += '<a href="javascript: ' + this.obj + '.s(' + nodeId + ');"><img id="j' + this.obj + nodeId + '" src="';
141 } else str += '<img id="j' + this.obj + nodeId + '" src="' + ((node._ls) ? this.icon.joinBottom : this.icon.join ) + '" alt="" />';
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;
157 dTree.prototype.s = function(id) {
159 var cn = this.aNodes[id];
164 if (this.selectedNode != id)
170 eNew = document.getElementById("s" + this.obj + id);
172 this.selectedNode = id;
175 var str = eval('node' + id);
177 form.nodenumber.value=id;