Home | History | Annotate | Download | only in doc

Lines Matching defs:node

77 // Overloaded to save the root node into global_navtree_object
83 o.node = new Object();
84 o.node.li = document.getElementById("nav-tree-contents");
85 o.node.childrenData = NAVTREE;
86 o.node.children = new Array();
87 o.node.childrenUL = document.createElement("ul");
88 o.node.getChildrenUL = function() { return o.node.childrenUL; };
89 o.node.li.appendChild(o.node.childrenUL);
90 o.node.depth = 0;
91 o.node.relpath = relpath;
92 o.node.expanded = false;
93 o.node.isLast = true;
94 o.node.plus_img = document.createElement("img");
95 o.node.plus_img.src = relpath+"ftv2pnode.png";
96 o.node.plus_img.width = 16;
97 o.node.plus_img.height = 22;
137 // return false if the the node has no children at all, or has only section/subsection children
138 function checkChildrenData(node) {
139 if (!(typeof(node.childrenData)==='string')) {
140 for (var i in node.childrenData) {
141 var url = node.childrenData[i][1];
147 return (node.childrenData);
151 // 1 - remove the root node
153 function createIndent(o,domNode,node,level)
156 var n = node;
163 if (checkChildrenData(node)) { // <- we modified this line to use checkChildrenData(node) instead of node.childrenData
164 node.plus_img = imgNode;
165 node.expandToggle = document.createElement("a");
166 node.expandToggle.href = "javascript:void(0)";
167 node.expandToggle.onclick = function() {
168 if (node.expanded) {
169 $(node.getChildrenUL()).slideUp("fast");
170 node.plus_img.src = node.relpath+"ftv2pnode.png";
171 node.expanded = false;
173 expandNode(o, node, false, false);
176 node.expandToggle.appendChild(imgNode);
177 domNode.appendChild(node.expandToggle);
178 imgNode.src = node.relpath+"ftv2pnode.png";
180 imgNode.src = node.relpath+"ftv2node.png";
185 // Overloaded to automatically expand the selected node
223 // expand the "Chapters" node
225 expandNode(global_navtree_object, global_navtree_object.node.children[0].children[2], true, true);
227 expandNode(global_navtree_object, global_navtree_object.node.children[0].children[1], true, true);
229 // Hide the root node "Eigen"