Quote by mwolf on 2008-11-05, 17:05: in the dokuwiki/inc/parser/xhtml.php add style="display: none;" in line 108 like this: $out .= '<div id="toc__inside" style="display: none;">'.DOKU_LF;
This works for me if I do that in ./inc/html.php!
Another way could be to exchange the following lines in function addTocToggle() in ./lib/scripts/script.js
1. obj.innerHTML = '<span>−</span>'; 2. obj.className = 'toc_close';
with these lines instead
1. obj.innerHTML = '<span>+</span>'; 2. obj.className = 'toc_open'; 3. $('toc__inside').style.display = 'none';
Please be aware that changing the core code will make upgrades more difficult.