Searched refs:fullPageName (Results 1 – 1 of 1) sorted by relevance
177 function highlightNav(fullPageName) { argument178 var lastSlashPos = fullPageName.lastIndexOf("/");180 if (fullPageName.indexOf("/guide/") != -1) {181 firstSlashPos = fullPageName.indexOf("/guide/");182 } else if (fullPageName.indexOf("/sdk/") != -1) {183 firstSlashPos = fullPageName.indexOf("/sdk/");185 firstSlashPos = fullPageName.indexOf("/resources/");187 if (lastSlashPos == (fullPageName.length - 1)) { // if the url ends in slash (add 'index.html')188 fullPageName = fullPageName + "index.html";191 var pathPageName = fullPageName.substr(firstSlashPos);[all …]