1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

Regen docs

This commit is contained in:
Denis Demchenko
2018-09-09 15:08:48 +03:00
parent 3489f9d374
commit 7c411be476
16 changed files with 5362 additions and 5225 deletions

11
docs/scripts/collapse.js Normal file
View File

@@ -0,0 +1,11 @@
function hideAllButCurrent(){
//by default all submenut items are hidden
$("nav > ul > li > ul li").hide();
//only current page (if it exists) should be opened
var file = window.location.pathname.split("/").pop();
$("nav > ul > li > a[href^='"+file+"']").parent().find("> ul li").show();
}
$( document ).ready(function() {
hideAllButCurrent();
});