()
| 251 | } |
| 252 | |
| 253 | function showRoot() |
| 254 | { |
| 255 | var headerHeight = $("#top").height(); |
| 256 | var footerHeight = $("#nav-path").height(); |
| 257 | var windowHeight = $(window).height() - headerHeight - footerHeight; |
| 258 | (function (){ // retry until we can scroll to the selected item |
| 259 | try { |
| 260 | var navtree=$('#nav-tree'); |
| 261 | navtree.scrollTo('#selected',100,{offset:-windowHeight/2}); |
| 262 | } catch (err) { |
| 263 | setTimeout(arguments.callee, 0); |
| 264 | } |
| 265 | })(); |
| 266 | } |
| 267 | |
| 268 | function expandNode(o, node, imm, showRoot) |
| 269 | { |
no outgoing calls
no test coverage detected