Lines Matching refs:document
13 this._toc = document.getElementById("dw__toc");
14 this._header = document.querySelector("header");
15 this._sidebar = document.querySelector("#dokuwiki__aside");
42 document.body.setAttribute("data-contentlang", document.body.getAttribute("data-id").split(":")[0]);
52 if (document.location.hash)
55 var hash = decodeURI(document.location.hash);
56 var elem = document.querySelector(hash);
69 var sidebarItem = document.querySelector("#sidebar #dw__toc a[href='" + hash + "']");
154 var list = document.querySelectorAll("#sidebarheader > div.home > a, #pageheader .breadcrumbs > .home > a");
177 return getComputedStyle(document.querySelector("#__media_query")).getPropertyValue("--media-query").trim() || getComputedStyle(document.querySelector("#__media_query"))["-media-query"].trim();
296 document.querySelector("#dokuwiki__site").classList.toggle("showSidebar");
300 document.querySelector("#dokuwiki__site").classList.toggle("showSidebarSP");
316 document.querySelector("#dokuwiki__site").classList.add("showSidebar");
320 document.querySelector("#dokuwiki__site").classList.add("showSidebarSP");
335 document.querySelector("#dokuwiki__site").classList.remove("showSidebar");
339 document.querySelector("#dokuwiki__site").classList.remove("showSidebarSP");
378 var result = document.querySelector("#sidebarheader > div.home > a").href;
512 var list = document.querySelectorAll('a[href*="#"]');
520 if (href.substring(0,1) == "#" || elem.getAttribute("title") == document.body.getAttribute("data-id"))
544 var target = document.querySelector(hash);
600 document.getElementById("btn-mobilemenu").addEventListener("click", function(){
621 document.getElementById("btn-prevpage").classList.remove("invisible");
622 document.getElementById("btn-prevpage").href = this._pages[currentPageIndex - 1];
628 document.getElementById("btn-nextpage").classList.remove("invisible");
629 document.getElementById("btn-nextpage").href = this._pages[currentPageIndex + 1];