Lines Matching refs:node
125 function createIndent(o,domNode,node,level) argument
128 var n = node;
130 if (node.childrenData) {
136 node.plus_img = imgNode;
137 node.expandToggle = document.createElement("a");
138 node.expandToggle.href = "javascript:void(0)";
139 node.expandToggle.onclick = function() {
140 if (node.expanded) {
141 $(node.getChildrenUL()).slideUp("fast");
142 node.plus_img.src = node.relpath+"ftv2pnode.png";
143 node.expanded = false;
145 expandNode(o, node, false, false);
148 node.expandToggle.appendChild(imgNode);
149 domNode.appendChild(node.expandToggle);
150 imgNode.src = node.relpath+"ftv2pnode.png";
191 var node = new Object();
192 node.children = Array();
193 node.childrenData = childrenData;
194 node.depth = po.depth + 1;
195 node.relpath = po.relpath;
196 node.isLast = lastNode;
198 node.li = document.createElement("li");
199 po.getChildrenUL().appendChild(node.li);
200 node.parentNode = po;
202 node.itemDiv = document.createElement("div");
203 node.itemDiv.className = "item";
205 node.labelSpan = document.createElement("span");
206 node.labelSpan.className = "label";
208 createIndent(o,node.itemDiv,node,0);
209 node.itemDiv.appendChild(node.labelSpan);
210 node.li.appendChild(node.itemDiv);
213 node.labelSpan.appendChild(a);
214 node.label = document.createTextNode(text);
215 node.expanded = false;
216 a.appendChild(node.label);
223 url = node.relpath+link;
252 a.onclick = node.expandToggle.onclick;
256 node.childrenUL = null;
257 node.getChildrenUL = function() {
258 if (!node.childrenUL) {
259 node.childrenUL = document.createElement("ul");
260 node.childrenUL.className = "children_ul";
261 node.childrenUL.style.display = "none";
262 node.li.appendChild(node.childrenUL);
264 return node.childrenUL;
267 return node;
285 function expandNode(o, node, imm, showRoot) argument
287 if (node.childrenData && !node.expanded) {
288 if (typeof(node.childrenData)==='string') {
289 var varName = node.childrenData;
290 getScript(node.relpath+varName,function(){
291 node.childrenData = getData(varName);
292 expandNode(o, node, imm, showRoot);
295 if (!node.childrenVisited) {
296 getNode(o, node);
299 $(node.getChildrenUL()).show();
301 $(node.getChildrenUL()).slideDown("fast");
303 if (node.isLast) {
304 node.plus_img.src = node.relpath+"ftv2mlastnode.png";
306 node.plus_img.src = node.relpath+"ftv2mnode.png";
308 node.expanded = true;
363 function showNode(o, node, index, hash) argument
365 if (node && node.childrenData) {
366 if (typeof(node.childrenData)==='string') {
367 var varName = node.childrenData;
368 getScript(node.relpath+varName,function(){
369 node.childrenData = getData(varName);
370 showNode(o,node,index,hash);
373 if (!node.childrenVisited) {
374 getNode(o, node);
376 $(node.getChildrenUL()).css({'display':'block'});
377 if (node.isLast) {
378 node.plus_img.src = node.relpath+"ftv2mlastnode.png";
380 node.plus_img.src = node.relpath+"ftv2mnode.png";
382 node.expanded = true;
383 var n = node.children[o.breadcrumbs[index]];
391 node.expanded=false;
392 showNode(o,node,index,hash); // retry with child node expanded
445 showNode(o, o.node, 0, hash);
506 o.node = new Object();
507 o.node.li = document.getElementById("nav-tree-contents");
508 o.node.childrenData = NAVTREE;
509 o.node.children = new Array();
510 o.node.childrenUL = document.createElement("ul");
511 o.node.getChildrenUL = function() { return o.node.childrenUL; };
512 o.node.li.appendChild(o.node.childrenUL);
513 o.node.depth = 0;
514 o.node.relpath = relpath;
515 o.node.expanded = false;
516 o.node.isLast = true;
517 o.node.plus_img = document.createElement("img");
518 o.node.plus_img.src = relpath+"ftv2pnode.png";
519 o.node.plus_img.width = 16;
520 o.node.plus_img.height = 22;