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.

Nesting ToggleDisplay Tags
Seems to be broken. =( --J.nesta 05:33, 5 November 2009 (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)