Extension talk:ToggleDisplay

Nice example
I've found a nice use for this extension. You can make a Preview link to view other wiki pages. Here is an example of the code. The code doesn't work on Mediawiki.org because the extension isn't installed here. A working copy can be found here

Main Page  

Another Use
A simple show hide box using this extension, parameters are easy to change to suit your needs, tried and works on version 1.12 and 1.13.5.


 * This is a very helpful example, thank you. --Robinson Weijman 14:32, 1 March 2010 (UTC)

Nesting ToggleDisplay Tags
Seems to be broken. =( --J.nesta 05:33, 5 November 2009 (UTC)
 * I found it worked like this:

hidden text 1 hidden text 2 hidden text 3 --Robinson Weijman 14:23, 1 March 2010 (UTC)

show/hide all
Is there any way to show/hide all hideable divs in a page? The reason I want this is that for browsing a large page, I want everything hidden, but ctrl-f search does not find content in invisible elements, so I'd like to be able to quickly expand and then hide everything again. It's probably not too hard to write a bookmarklet that does this, but I'd prefer a javascript link. If it's not already available, can anyone give me a hint how to go about implementing it? It can't be that much work to do it, so I'll gladly try if anyone can point me in the right direction. 146.6.200.139 19:20, 17 November 2009 (UTC)

Uggly Warning
I got the following warning in the wiki, if i install ToggleDisplay:

Warning: Cannot modify header information - headers already sent by (output started at [...]/mediawiki-1.15.1/extensions/ToggleDisplay/ToggleDisplay.php:102) in [...]/includes/WebResponse.php on line 16

After using " " the first time i see only this warning and no wikipage anymore.

Thanks for any hints how i get rid of this! --benni