cannam@50
|
1 var NAVTREE =
|
cannam@50
|
2 [
|
cannam@50
|
3 [ "VampPluginSDK", "index.html", [
|
cannam@50
|
4 [ "Vamp Plugin SDK", "index.html", null ],
|
cannam@50
|
5 [ "Class List", "annotated.html", [
|
cannam@50
|
6 [ "_VampFeature", "struct__VampFeature.html", null ],
|
cannam@50
|
7 [ "_VampFeatureList", "struct__VampFeatureList.html", null ],
|
cannam@50
|
8 [ "_VampFeatureUnion", "union__VampFeatureUnion.html", null ],
|
cannam@50
|
9 [ "_VampFeatureV2", "struct__VampFeatureV2.html", null ],
|
cannam@50
|
10 [ "_VampOutputDescriptor", "struct__VampOutputDescriptor.html", null ],
|
cannam@50
|
11 [ "_VampParameterDescriptor", "struct__VampParameterDescriptor.html", null ],
|
cannam@50
|
12 [ "_VampPluginDescriptor", "struct__VampPluginDescriptor.html", null ],
|
cannam@50
|
13 [ "AmplitudeFollower", "classAmplitudeFollower.html", null ],
|
cannam@50
|
14 [ "FixedTempoEstimator::D", "classFixedTempoEstimator_1_1D.html", null ],
|
cannam@50
|
15 [ "Vamp::Plugin::Feature", "structVamp_1_1Plugin_1_1Feature.html", null ],
|
cannam@50
|
16 [ "FixedTempoEstimator", "classFixedTempoEstimator.html", null ],
|
cannam@50
|
17 [ "Vamp::Plugin::OutputDescriptor", "structVamp_1_1Plugin_1_1OutputDescriptor.html", null ],
|
cannam@50
|
18 [ "Vamp::PluginBase::ParameterDescriptor", "structVamp_1_1PluginBase_1_1ParameterDescriptor.html", null ],
|
cannam@50
|
19 [ "PercussionOnsetDetector", "classPercussionOnsetDetector.html", null ],
|
cannam@50
|
20 [ "Vamp::Plugin", "classVamp_1_1Plugin.html", null ],
|
cannam@50
|
21 [ "Vamp::PluginAdapter< P >", "classVamp_1_1PluginAdapter.html", null ],
|
cannam@50
|
22 [ "Vamp::PluginAdapterBase", "classVamp_1_1PluginAdapterBase.html", null ],
|
cannam@50
|
23 [ "Vamp::PluginBase", "classVamp_1_1PluginBase.html", null ],
|
cannam@50
|
24 [ "Vamp::HostExt::PluginBufferingAdapter", "classVamp_1_1HostExt_1_1PluginBufferingAdapter.html", null ],
|
cannam@50
|
25 [ "Vamp::HostExt::PluginChannelAdapter", "classVamp_1_1HostExt_1_1PluginChannelAdapter.html", null ],
|
cannam@50
|
26 [ "Vamp::PluginHostAdapter", "classVamp_1_1PluginHostAdapter.html", null ],
|
cannam@50
|
27 [ "Vamp::HostExt::PluginInputDomainAdapter", "classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html", null ],
|
cannam@50
|
28 [ "Vamp::HostExt::PluginLoader", "classVamp_1_1HostExt_1_1PluginLoader.html", null ],
|
cannam@50
|
29 [ "Vamp::HostExt::PluginSummarisingAdapter", "classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html", null ],
|
cannam@50
|
30 [ "Vamp::HostExt::PluginWrapper", "classVamp_1_1HostExt_1_1PluginWrapper.html", null ],
|
cannam@50
|
31 [ "PowerSpectrum", "classPowerSpectrum.html", null ],
|
cannam@50
|
32 [ "Vamp::RealTime", "structVamp_1_1RealTime.html", null ],
|
cannam@50
|
33 [ "SpectralCentroid", "classSpectralCentroid.html", null ],
|
cannam@50
|
34 [ "ZeroCrossing", "classZeroCrossing.html", null ]
|
cannam@50
|
35 ] ],
|
cannam@50
|
36 [ "Class Index", "classes.html", null ],
|
cannam@50
|
37 [ "Class Hierarchy", "hierarchy.html", [
|
cannam@50
|
38 [ "_VampFeature", "struct__VampFeature.html", null ],
|
cannam@50
|
39 [ "_VampFeatureList", "struct__VampFeatureList.html", null ],
|
cannam@50
|
40 [ "_VampFeatureUnion", "union__VampFeatureUnion.html", null ],
|
cannam@50
|
41 [ "_VampFeatureV2", "struct__VampFeatureV2.html", null ],
|
cannam@50
|
42 [ "_VampOutputDescriptor", "struct__VampOutputDescriptor.html", null ],
|
cannam@50
|
43 [ "_VampParameterDescriptor", "struct__VampParameterDescriptor.html", null ],
|
cannam@50
|
44 [ "_VampPluginDescriptor", "struct__VampPluginDescriptor.html", null ],
|
cannam@50
|
45 [ "FixedTempoEstimator::D", "classFixedTempoEstimator_1_1D.html", null ],
|
cannam@50
|
46 [ "Vamp::Plugin::Feature", "structVamp_1_1Plugin_1_1Feature.html", null ],
|
cannam@50
|
47 [ "Vamp::Plugin::OutputDescriptor", "structVamp_1_1Plugin_1_1OutputDescriptor.html", null ],
|
cannam@50
|
48 [ "Vamp::PluginBase::ParameterDescriptor", "structVamp_1_1PluginBase_1_1ParameterDescriptor.html", null ],
|
cannam@50
|
49 [ "Vamp::PluginAdapterBase", "classVamp_1_1PluginAdapterBase.html", [
|
cannam@50
|
50 [ "Vamp::PluginAdapter< P >", "classVamp_1_1PluginAdapter.html", null ]
|
cannam@50
|
51 ] ],
|
cannam@50
|
52 [ "Vamp::PluginBase", "classVamp_1_1PluginBase.html", [
|
cannam@50
|
53 [ "Vamp::Plugin", "classVamp_1_1Plugin.html", [
|
cannam@50
|
54 [ "AmplitudeFollower", "classAmplitudeFollower.html", null ],
|
cannam@50
|
55 [ "FixedTempoEstimator", "classFixedTempoEstimator.html", null ],
|
cannam@50
|
56 [ "PercussionOnsetDetector", "classPercussionOnsetDetector.html", null ],
|
cannam@50
|
57 [ "PowerSpectrum", "classPowerSpectrum.html", null ],
|
cannam@50
|
58 [ "SpectralCentroid", "classSpectralCentroid.html", null ],
|
cannam@50
|
59 [ "Vamp::HostExt::PluginWrapper", "classVamp_1_1HostExt_1_1PluginWrapper.html", [
|
cannam@50
|
60 [ "Vamp::HostExt::PluginBufferingAdapter", "classVamp_1_1HostExt_1_1PluginBufferingAdapter.html", null ],
|
cannam@50
|
61 [ "Vamp::HostExt::PluginChannelAdapter", "classVamp_1_1HostExt_1_1PluginChannelAdapter.html", null ],
|
cannam@50
|
62 [ "Vamp::HostExt::PluginInputDomainAdapter", "classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html", null ],
|
cannam@50
|
63 [ "Vamp::HostExt::PluginSummarisingAdapter", "classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html", null ]
|
cannam@50
|
64 ] ],
|
cannam@50
|
65 [ "Vamp::PluginHostAdapter", "classVamp_1_1PluginHostAdapter.html", null ],
|
cannam@50
|
66 [ "ZeroCrossing", "classZeroCrossing.html", null ]
|
cannam@50
|
67 ] ]
|
cannam@50
|
68 ] ],
|
cannam@50
|
69 [ "Vamp::HostExt::PluginLoader", "classVamp_1_1HostExt_1_1PluginLoader.html", null ],
|
cannam@50
|
70 [ "Vamp::RealTime", "structVamp_1_1RealTime.html", null ]
|
cannam@50
|
71 ] ],
|
cannam@50
|
72 [ "Class Members", "functions.html", null ],
|
cannam@50
|
73 [ "Namespace List", "namespaces.html", [
|
cannam@50
|
74 [ "Vamp", "namespaceVamp.html", null ],
|
cannam@50
|
75 [ "Vamp::HostExt", "namespaceVamp_1_1HostExt.html", null ]
|
cannam@50
|
76 ] ],
|
cannam@50
|
77 [ "Namespace Members", "namespacemembers.html", null ],
|
cannam@50
|
78 [ "File List", "files.html", [
|
cannam@50
|
79 [ "AmplitudeFollower.cpp", "AmplitudeFollower_8cpp.html", null ],
|
cannam@50
|
80 [ "AmplitudeFollower.h", "AmplitudeFollower_8h.html", null ],
|
cannam@50
|
81 [ "doc-overview", "doc-overview.html", null ],
|
cannam@50
|
82 [ "FixedTempoEstimator.cpp", "FixedTempoEstimator_8cpp.html", null ],
|
cannam@50
|
83 [ "FixedTempoEstimator.h", "FixedTempoEstimator_8h.html", null ],
|
cannam@50
|
84 [ "hostguard.h", "hostguard_8h.html", null ],
|
cannam@50
|
85 [ "PercussionOnsetDetector.cpp", "PercussionOnsetDetector_8cpp.html", null ],
|
cannam@50
|
86 [ "PercussionOnsetDetector.h", "PercussionOnsetDetector_8h.html", null ],
|
cannam@50
|
87 [ "plugguard.h", "plugguard_8h.html", null ],
|
cannam@50
|
88 [ "vamp-sdk/Plugin.h", "vamp-sdk_2Plugin_8h.html", null ],
|
cannam@50
|
89 [ "vamp-hostsdk/Plugin.h", "vamp-hostsdk_2Plugin_8h.html", null ],
|
cannam@50
|
90 [ "PluginAdapter.h", "PluginAdapter_8h.html", null ],
|
cannam@50
|
91 [ "vamp-sdk/PluginBase.h", "vamp-sdk_2PluginBase_8h.html", null ],
|
cannam@50
|
92 [ "vamp-hostsdk/PluginBase.h", "vamp-hostsdk_2PluginBase_8h.html", null ],
|
cannam@50
|
93 [ "PluginBufferingAdapter.h", "PluginBufferingAdapter_8h.html", null ],
|
cannam@50
|
94 [ "PluginChannelAdapter.h", "PluginChannelAdapter_8h.html", null ],
|
cannam@50
|
95 [ "PluginHostAdapter.h", "PluginHostAdapter_8h.html", null ],
|
cannam@50
|
96 [ "PluginInputDomainAdapter.h", "PluginInputDomainAdapter_8h.html", null ],
|
cannam@50
|
97 [ "PluginLoader.h", "PluginLoader_8h.html", null ],
|
cannam@50
|
98 [ "plugins.cpp", "plugins_8cpp.html", null ],
|
cannam@50
|
99 [ "PluginSummarisingAdapter.h", "PluginSummarisingAdapter_8h.html", null ],
|
cannam@50
|
100 [ "PluginWrapper.h", "PluginWrapper_8h.html", null ],
|
cannam@50
|
101 [ "PowerSpectrum.cpp", "PowerSpectrum_8cpp.html", null ],
|
cannam@50
|
102 [ "PowerSpectrum.h", "PowerSpectrum_8h.html", null ],
|
cannam@50
|
103 [ "vamp-sdk/RealTime.h", "vamp-sdk_2RealTime_8h.html", null ],
|
cannam@50
|
104 [ "vamp-hostsdk/RealTime.h", "vamp-hostsdk_2RealTime_8h.html", null ],
|
cannam@50
|
105 [ "SpectralCentroid.cpp", "SpectralCentroid_8cpp.html", null ],
|
cannam@50
|
106 [ "SpectralCentroid.h", "SpectralCentroid_8h.html", null ],
|
cannam@50
|
107 [ "system.h", "system_8h.html", null ],
|
cannam@50
|
108 [ "vamp-hostsdk.h", "vamp-hostsdk_8h.html", null ],
|
cannam@50
|
109 [ "vamp-sdk.h", "vamp-sdk_8h.html", null ],
|
cannam@50
|
110 [ "vamp-simple-host.cpp", "vamp-simple-host_8cpp.html", null ],
|
cannam@50
|
111 [ "vamp.h", "vamp_8h.html", null ],
|
cannam@50
|
112 [ "ZeroCrossing.cpp", "ZeroCrossing_8cpp.html", null ],
|
cannam@50
|
113 [ "ZeroCrossing.h", "ZeroCrossing_8h.html", null ]
|
cannam@50
|
114 ] ],
|
cannam@50
|
115 [ "Directories", "dirs.html", [
|
cannam@50
|
116 [ "examples", "dir_4ec587bfce30b9b784fbf1cea7303b09.html", null ],
|
cannam@50
|
117 [ "host", "dir_6fbd4b7d3be43d486a3cce3231e92c53.html", null ],
|
cannam@50
|
118 [ "src", "dir_629e1dda0168f818e2ee3ab23f68039a.html", null ],
|
cannam@50
|
119 [ "vamp", "dir_09d7d2829940fe46b7bc0eab58bbbc83.html", null ],
|
cannam@50
|
120 [ "vamp-hostsdk", "dir_878d155c6c7dea35ce3fc23c898c55e3.html", null ],
|
cannam@50
|
121 [ "vamp-sdk", "dir_fc29d784de6894b015ce0522888485dd.html", null ]
|
cannam@50
|
122 ] ],
|
cannam@50
|
123 [ "File Members", "globals.html", null ]
|
cannam@50
|
124 ] ]
|
cannam@50
|
125 ];
|
cannam@50
|
126
|
cannam@50
|
127 function createIndent(o,domNode,node,level)
|
cannam@50
|
128 {
|
cannam@50
|
129 if (node.parentNode && node.parentNode.parentNode)
|
cannam@50
|
130 {
|
cannam@50
|
131 createIndent(o,domNode,node.parentNode,level+1);
|
cannam@50
|
132 }
|
cannam@50
|
133 var imgNode = document.createElement("img");
|
cannam@50
|
134 if (level==0 && node.childrenData)
|
cannam@50
|
135 {
|
cannam@50
|
136 node.plus_img = imgNode;
|
cannam@50
|
137 node.expandToggle = document.createElement("a");
|
cannam@50
|
138 node.expandToggle.href = "javascript:void(0)";
|
cannam@50
|
139 node.expandToggle.onclick = function()
|
cannam@50
|
140 {
|
cannam@50
|
141 if (node.expanded)
|
cannam@50
|
142 {
|
cannam@50
|
143 $(node.getChildrenUL()).slideUp("fast");
|
cannam@50
|
144 if (node.isLast)
|
cannam@50
|
145 {
|
cannam@50
|
146 node.plus_img.src = node.relpath+"ftv2plastnode.png";
|
cannam@50
|
147 }
|
cannam@50
|
148 else
|
cannam@50
|
149 {
|
cannam@50
|
150 node.plus_img.src = node.relpath+"ftv2pnode.png";
|
cannam@50
|
151 }
|
cannam@50
|
152 node.expanded = false;
|
cannam@50
|
153 }
|
cannam@50
|
154 else
|
cannam@50
|
155 {
|
cannam@50
|
156 expandNode(o, node, false);
|
cannam@50
|
157 }
|
cannam@50
|
158 }
|
cannam@50
|
159 node.expandToggle.appendChild(imgNode);
|
cannam@50
|
160 domNode.appendChild(node.expandToggle);
|
cannam@50
|
161 }
|
cannam@50
|
162 else
|
cannam@50
|
163 {
|
cannam@50
|
164 domNode.appendChild(imgNode);
|
cannam@50
|
165 }
|
cannam@50
|
166 if (level==0)
|
cannam@50
|
167 {
|
cannam@50
|
168 if (node.isLast)
|
cannam@50
|
169 {
|
cannam@50
|
170 if (node.childrenData)
|
cannam@50
|
171 {
|
cannam@50
|
172 imgNode.src = node.relpath+"ftv2plastnode.png";
|
cannam@50
|
173 }
|
cannam@50
|
174 else
|
cannam@50
|
175 {
|
cannam@50
|
176 imgNode.src = node.relpath+"ftv2lastnode.png";
|
cannam@50
|
177 domNode.appendChild(imgNode);
|
cannam@50
|
178 }
|
cannam@50
|
179 }
|
cannam@50
|
180 else
|
cannam@50
|
181 {
|
cannam@50
|
182 if (node.childrenData)
|
cannam@50
|
183 {
|
cannam@50
|
184 imgNode.src = node.relpath+"ftv2pnode.png";
|
cannam@50
|
185 }
|
cannam@50
|
186 else
|
cannam@50
|
187 {
|
cannam@50
|
188 imgNode.src = node.relpath+"ftv2node.png";
|
cannam@50
|
189 domNode.appendChild(imgNode);
|
cannam@50
|
190 }
|
cannam@50
|
191 }
|
cannam@50
|
192 }
|
cannam@50
|
193 else
|
cannam@50
|
194 {
|
cannam@50
|
195 if (node.isLast)
|
cannam@50
|
196 {
|
cannam@50
|
197 imgNode.src = node.relpath+"ftv2blank.png";
|
cannam@50
|
198 }
|
cannam@50
|
199 else
|
cannam@50
|
200 {
|
cannam@50
|
201 imgNode.src = node.relpath+"ftv2vertline.png";
|
cannam@50
|
202 }
|
cannam@50
|
203 }
|
cannam@50
|
204 imgNode.border = "0";
|
cannam@50
|
205 }
|
cannam@50
|
206
|
cannam@50
|
207 function newNode(o, po, text, link, childrenData, lastNode)
|
cannam@50
|
208 {
|
cannam@50
|
209 var node = new Object();
|
cannam@50
|
210 node.children = Array();
|
cannam@50
|
211 node.childrenData = childrenData;
|
cannam@50
|
212 node.depth = po.depth + 1;
|
cannam@50
|
213 node.relpath = po.relpath;
|
cannam@50
|
214 node.isLast = lastNode;
|
cannam@50
|
215
|
cannam@50
|
216 node.li = document.createElement("li");
|
cannam@50
|
217 po.getChildrenUL().appendChild(node.li);
|
cannam@50
|
218 node.parentNode = po;
|
cannam@50
|
219
|
cannam@50
|
220 node.itemDiv = document.createElement("div");
|
cannam@50
|
221 node.itemDiv.className = "item";
|
cannam@50
|
222
|
cannam@50
|
223 node.labelSpan = document.createElement("span");
|
cannam@50
|
224 node.labelSpan.className = "label";
|
cannam@50
|
225
|
cannam@50
|
226 createIndent(o,node.itemDiv,node,0);
|
cannam@50
|
227 node.itemDiv.appendChild(node.labelSpan);
|
cannam@50
|
228 node.li.appendChild(node.itemDiv);
|
cannam@50
|
229
|
cannam@50
|
230 var a = document.createElement("a");
|
cannam@50
|
231 node.labelSpan.appendChild(a);
|
cannam@50
|
232 node.label = document.createTextNode(text);
|
cannam@50
|
233 a.appendChild(node.label);
|
cannam@50
|
234 if (link)
|
cannam@50
|
235 {
|
cannam@50
|
236 a.href = node.relpath+link;
|
cannam@50
|
237 }
|
cannam@50
|
238 else
|
cannam@50
|
239 {
|
cannam@50
|
240 if (childrenData != null)
|
cannam@50
|
241 {
|
cannam@50
|
242 a.className = "nolink";
|
cannam@50
|
243 a.href = "javascript:void(0)";
|
cannam@50
|
244 a.onclick = node.expandToggle.onclick;
|
cannam@50
|
245 node.expanded = false;
|
cannam@50
|
246 }
|
cannam@50
|
247 }
|
cannam@50
|
248
|
cannam@50
|
249 node.childrenUL = null;
|
cannam@50
|
250 node.getChildrenUL = function()
|
cannam@50
|
251 {
|
cannam@50
|
252 if (!node.childrenUL)
|
cannam@50
|
253 {
|
cannam@50
|
254 node.childrenUL = document.createElement("ul");
|
cannam@50
|
255 node.childrenUL.className = "children_ul";
|
cannam@50
|
256 node.childrenUL.style.display = "none";
|
cannam@50
|
257 node.li.appendChild(node.childrenUL);
|
cannam@50
|
258 }
|
cannam@50
|
259 return node.childrenUL;
|
cannam@50
|
260 };
|
cannam@50
|
261
|
cannam@50
|
262 return node;
|
cannam@50
|
263 }
|
cannam@50
|
264
|
cannam@50
|
265 function showRoot()
|
cannam@50
|
266 {
|
cannam@50
|
267 var headerHeight = $("#top").height();
|
cannam@50
|
268 var footerHeight = $("#nav-path").height();
|
cannam@50
|
269 var windowHeight = $(window).height() - headerHeight - footerHeight;
|
cannam@50
|
270 navtree.scrollTo('#selected',0,{offset:-windowHeight/2});
|
cannam@50
|
271 }
|
cannam@50
|
272
|
cannam@50
|
273 function expandNode(o, node, imm)
|
cannam@50
|
274 {
|
cannam@50
|
275 if (node.childrenData && !node.expanded)
|
cannam@50
|
276 {
|
cannam@50
|
277 if (!node.childrenVisited)
|
cannam@50
|
278 {
|
cannam@50
|
279 getNode(o, node);
|
cannam@50
|
280 }
|
cannam@50
|
281 if (imm)
|
cannam@50
|
282 {
|
cannam@50
|
283 $(node.getChildrenUL()).show();
|
cannam@50
|
284 }
|
cannam@50
|
285 else
|
cannam@50
|
286 {
|
cannam@50
|
287 $(node.getChildrenUL()).slideDown("fast",showRoot);
|
cannam@50
|
288 }
|
cannam@50
|
289 if (node.isLast)
|
cannam@50
|
290 {
|
cannam@50
|
291 node.plus_img.src = node.relpath+"ftv2mlastnode.png";
|
cannam@50
|
292 }
|
cannam@50
|
293 else
|
cannam@50
|
294 {
|
cannam@50
|
295 node.plus_img.src = node.relpath+"ftv2mnode.png";
|
cannam@50
|
296 }
|
cannam@50
|
297 node.expanded = true;
|
cannam@50
|
298 }
|
cannam@50
|
299 }
|
cannam@50
|
300
|
cannam@50
|
301 function getNode(o, po)
|
cannam@50
|
302 {
|
cannam@50
|
303 po.childrenVisited = true;
|
cannam@50
|
304 var l = po.childrenData.length-1;
|
cannam@50
|
305 for (var i in po.childrenData)
|
cannam@50
|
306 {
|
cannam@50
|
307 var nodeData = po.childrenData[i];
|
cannam@50
|
308 po.children[i] = newNode(o, po, nodeData[0], nodeData[1], nodeData[2],
|
cannam@50
|
309 i==l);
|
cannam@50
|
310 }
|
cannam@50
|
311 }
|
cannam@50
|
312
|
cannam@50
|
313 function findNavTreePage(url, data)
|
cannam@50
|
314 {
|
cannam@50
|
315 var nodes = data;
|
cannam@50
|
316 var result = null;
|
cannam@50
|
317 for (var i in nodes)
|
cannam@50
|
318 {
|
cannam@50
|
319 var d = nodes[i];
|
cannam@50
|
320 if (d[1] == url)
|
cannam@50
|
321 {
|
cannam@50
|
322 return new Array(i);
|
cannam@50
|
323 }
|
cannam@50
|
324 else if (d[2] != null) // array of children
|
cannam@50
|
325 {
|
cannam@50
|
326 result = findNavTreePage(url, d[2]);
|
cannam@50
|
327 if (result != null)
|
cannam@50
|
328 {
|
cannam@50
|
329 return (new Array(i).concat(result));
|
cannam@50
|
330 }
|
cannam@50
|
331 }
|
cannam@50
|
332 }
|
cannam@50
|
333 return null;
|
cannam@50
|
334 }
|
cannam@50
|
335
|
cannam@50
|
336 function initNavTree(toroot,relpath)
|
cannam@50
|
337 {
|
cannam@50
|
338 var o = new Object();
|
cannam@50
|
339 o.toroot = toroot;
|
cannam@50
|
340 o.node = new Object();
|
cannam@50
|
341 o.node.li = document.getElementById("nav-tree-contents");
|
cannam@50
|
342 o.node.childrenData = NAVTREE;
|
cannam@50
|
343 o.node.children = new Array();
|
cannam@50
|
344 o.node.childrenUL = document.createElement("ul");
|
cannam@50
|
345 o.node.getChildrenUL = function() { return o.node.childrenUL; };
|
cannam@50
|
346 o.node.li.appendChild(o.node.childrenUL);
|
cannam@50
|
347 o.node.depth = 0;
|
cannam@50
|
348 o.node.relpath = relpath;
|
cannam@50
|
349
|
cannam@50
|
350 getNode(o, o.node);
|
cannam@50
|
351
|
cannam@50
|
352 o.breadcrumbs = findNavTreePage(toroot, NAVTREE);
|
cannam@50
|
353 if (o.breadcrumbs == null)
|
cannam@50
|
354 {
|
cannam@50
|
355 o.breadcrumbs = findNavTreePage("index.html",NAVTREE);
|
cannam@50
|
356 }
|
cannam@50
|
357 if (o.breadcrumbs != null && o.breadcrumbs.length>0)
|
cannam@50
|
358 {
|
cannam@50
|
359 var p = o.node;
|
cannam@50
|
360 for (var i in o.breadcrumbs)
|
cannam@50
|
361 {
|
cannam@50
|
362 var j = o.breadcrumbs[i];
|
cannam@50
|
363 p = p.children[j];
|
cannam@50
|
364 expandNode(o,p,true);
|
cannam@50
|
365 }
|
cannam@50
|
366 p.itemDiv.className = p.itemDiv.className + " selected";
|
cannam@50
|
367 p.itemDiv.id = "selected";
|
cannam@50
|
368 $(window).load(showRoot);
|
cannam@50
|
369 }
|
cannam@50
|
370 }
|
cannam@50
|
371
|