diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-12-16 11:49:27 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-12-16 11:49:27 +0100 |
commit | 5252211c921a429c3c8e93278c4dfb9637afc190 (patch) | |
tree | cab3088eed8a790235ea16f1f39aa410804b22f6 /doc | |
parent | 6cf17c7bcc01bfb4dc0ffc96ca921c2f6baf6942 (diff) | |
download | volse-hubzilla-5252211c921a429c3c8e93278c4dfb9637afc190.tar.gz volse-hubzilla-5252211c921a429c3c8e93278c4dfb9637afc190.tar.bz2 volse-hubzilla-5252211c921a429c3c8e93278c4dfb9637afc190.zip |
some fixes for doco nav
Diffstat (limited to 'doc')
-rw-r--r-- | doc/toc.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/toc.html b/doc/toc.html index 7fad42b36..ec566c02d 100644 --- a/doc/toc.html +++ b/doc/toc.html @@ -389,6 +389,22 @@ $(".widget").stick_in_parent({ offset_top: $('nav').outerHeight(true) }); + + $('#expand-aside').click(function() { + if($('main').hasClass('region_1-on')) { + $('body').css('overflow-x', 'hidden'); + } + else { + $('body').css('overflow-x', ''); + } + }); + $(window).scroll(function() { + if($('main').hasClass('region_1-on') && $(window).scrollLeft() > 5) { + $('#expand-aside-icon').toggleClass('fa-arrow-circle-right').toggleClass('fa-arrow-circle-left'); + $('main').toggleClass('region_1-on'); + $('body').css('overflow-x', ''); + } + }); }); </script> |