Hello,
Under the default template, in order to get certain page with a closed toc, I have been having this code in
conf/entities.local.conf. It is a descendant of some javascript in the typo template and have been giving satisfaction so far.
~~closetoc~~ <script language="javascript" type="text/javascript">addInitEvent(function(t){if(t=$('toc__inside'))t.style.display='none';});</script>
When I write
~~closetoc~~ on a page, I get a closed toc when the page initially loads. Up to DokuWiki rincewind version it worked like a charm.
With Angua RC, it started to behave strangely. When the page is initially displayed, the toc is closed. But when you click on the toc to open it, it briefly opens, then closes again. next clicks do work as expected though.
Also, in Firebug console, I get much more warning "
$( deprecated, use JQuery(... instead" when I use ~~closetoc~~. I tried to replace $( with JQuery but it simply did not work.I tried to replace with jQuery (notice the lowercase j) but it did not work either.
I don't speak javascript, so can't investigate. Any help is appreciated.
/Schplurtz
PS
The effect can be seen here
http://schplurtz.free.fr/grmpl/ for a while. I'll rename this demo wiki soon.