This commit is contained in:
PySimpleGUI 2021-09-27 13:28:22 -04:00
parent 5dec5dca5b
commit 168810e471
15 changed files with 912 additions and 0 deletions

21
mkdocs_ivory/js/theme.js Normal file
View file

@ -0,0 +1,21 @@
function ready() {
$('.nav .section').each(function() {
$(this).click(function(e) {
$(this).toggleClass("hide");
$(this).parent().children(".subnav").toggleClass("hide");
});
});
$('.hamburger').click(function(e) {
$('html').toggleClass("show");
$('aside').toggleClass("show");
$('.home-top .site-name').toggleClass("hide");
});
$('.arrow').click(function(e) {
$('aside').toggleClass("hide");
$(this).toggleClass("hide");
});
}
$(ready);