Home | History | Annotate | Download | only in js

Lines Matching refs:toroot

12 var SITE_ROOT = toRoot + basePath.substring(1,basePath.indexOf("/",1));
26 $.getScript(toRoot + 'reference/jd_lists.js');
28 $.getScript(toRoot + 'reference/lists.js');
30 $.getScript(toRoot + 'reference/gcm_lists.js', function(data, textStatus, jqxhr) {
33 $.getScript(toRoot + 'reference/gms_lists.js', function(data, textStatus, jqxhr) {
345 $imgIcon = $('<img src="'+toRoot+'assets/images/resource-tutorial.png" '
351 $imgIcon = $('<img src="'+toRoot+'assets/images/resource-article.png" '
1027 init_default_navtree(toRoot);
1151 $(".toggle-content-img:eq(0)", div).attr("title", "hide").attr("src", toRoot
1159 $(".toggle-content-img", div).attr("title", "show").attr("src", toRoot
1535 function set_item_values(toroot, $li, match)
1539 $link.attr('href',toroot + match.link);
1560 function sync_selection_table(toroot)
1589 set_item_values(toroot, $li, gMatches[i]);
1603 set_item_values(toroot, $li, gGoogleMatches[i]);
1637 set_item_values(toroot, $li, sugg);
1679 * @param toroot A string for the site's root path
1682 function search_changed(e, kd, toroot)
1882 sync_selection_table(toroot);
2051 return search_changed(event, false, toRoot);
2190 return search_changed(event, false, toRoot);
2350 + "read <a href='" + toRoot + "training/basics/supporting-devices/platforms.html'"
2420 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
2429 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
2443 a.href = me.toroot + link;
2486 node.plus_img.src = me.toroot + "assets/images/triangle-opened-small.png";
2505 function this_page_relative(toroot)
2509 if (toroot.substr(0, 1) == "/") {
2510 if (full.substr(0, toroot.length) == toroot) {
2511 return full.substr(toroot.length);
2513 // the file isn't under toroot. Fail.
2517 if (toroot != "./") {
2518 toroot = "./" + toroot;
2521 if (toroot.substr(toroot.length-3, 3) == "../" || toroot == "./") {
2525 toroot = toroot.substr(0, toroot.length-3);
2527 } while (toroot != "" && toroot != "/");
2551 function init_default_navtree(toroot) {
2553 $.getScript(toRoot + 'navtree_data.js', function(data, textStatus, jqxhr) {
2556 init_navtree("tree-list", toroot, NAVTREE_DATA);
2565 function init_navtree(navtree_id, toroot, root_nodes)
2568 me.toroot = toroot;
2582 me.this_page = this_page_relative(toroot);
2606 function init_google_navtree(navtree_id, toroot, root_nodes)
2609 me.toroot = toroot;
2665 child.href = me.toroot + link;
2728 $a = $('<a href="' + toRoot + node_data[NODE_HREF] + '" title="' + linkText + '" >'
2762 init_default_google_navtree(toRoot);
2763 init_default_gcm_navtree(toRoot);
2766 function init_default_google_navtree(toroot) {
2768 $.getScript(toRoot + 'gms_navtree_data.js', function(data, textStatus, jqxhr) {
2771 init_google_navtree("gms-tree-list", toroot, GMS_NAVTREE_DATA);
2778 function init_default_gcm_navtree(toroot) {
2780 $.getScript(toRoot + 'gcm_navtree_data.js', function(data, textStatus, jqxhr) {
2783 init_google_navtree("gcm-tree-list", toroot, GCM_NAVTREE_DATA);
2791 init_default_samples_navtree(toRoot);
2794 function init_default_samples_navtree(toroot) {
2796 $.getScript(toRoot + 'samples_navtree_data.js', function(data, textStatus, jqxhr) {
2831 trigger.src = toRoot + "assets/images/triangle-opened.png";
2837 trigger.src = toRoot + "assets/images/triangle-closed.png";