Home | History | Annotate | Download | only in assets

Lines Matching refs:toroot

81                               + "<p><a href='" +toRoot+ "guide/appendix/api-levels.html'>What is the API Level?</a></p></div>");
146 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
155 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
168 a.href = me.toroot + link;
206 node.plus_img.src = me.toroot + "assets/images/triangle-opened-small.png";
225 function this_page_relative(toroot)
229 if (toroot.substr(0, 1) == "/") {
230 if (full.substr(0, toroot.length) == toroot) {
231 return full.substr(toroot.length);
233 // the file isn't under toroot. Fail.
237 if (toroot != "./") {
238 toroot = "./" + toroot;
241 if (toroot.substr(toroot.length-3, 3) == "../" || toroot == "./") {
245 toroot = toroot.substr(0, toroot.length-3);
247 } while (toroot != "" && toroot != "/");
271 function load_navtree_data(toroot) {
274 navtreeData.setAttribute("src", toroot+"navtree_data.js");
278 function init_default_navtree(toroot) {
279 init_navtree("nav-tree", toroot, NAVTREE_DATA);
286 function init_navtree(navtree_id, toroot, root_nodes)
289 me.toroot = toroot;
303 me.this_page = this_page_relative(toroot);
335 trigger.src = toRoot + "assets/images/triangle-opened.png";
341 trigger.src = toRoot + "assets/images/triangle-closed.png";