Google tag

Pages

Simple trick how to toggle dokuwiki sidebar

How to Toggle Dokuwiki Sidebar (Modify a bit on template)
1. Go to lib > tpl > dokuwiki > main.php
2. Paste below script under

3. Done !

1 comment:

blackbird- said...

If you get jQuery from CDN you broke editor panel, no special need to get jQuery again:


jQuery( "#fff" ).click(function() {
jQuery( "#dokuwiki__top" ).toggleClass("showSidebar");
jQuery( "#dokuwiki__top" ).toggleClass("hasSidebar");
jQuery( "#dokuwiki__aside").toggle();
});