Differences

This shows you the differences between two versions of the page.

plugin:folded [2009/11/04 18:21]
74.93.99.97
plugin:folded [2009/12/29 13:51] (current)
193.173.37.140
Line 112: Line 112:
 |Norwegian |vis          |skjul        |vis skjult innhold              |skjul innhold        | |Norwegian |vis          |skjul        |vis skjult innhold              |skjul innhold        |
 |Polish    |pokaż        |ukryj        |pokaż ukrytą zawartość          |ukryj zawartość      | |Polish    |pokaż        |ukryj        |pokaż ukrytą zawartość          |ukryj zawartość      |
 +|Portuguese (pt-br)|mostrar|ocultar    |mostrar conteúdo oculto         |ocultar conteúdo     |
 |Russian   |открыть      |скрыть       |показать скрытое оглавление     |скрыть оглавление    |  |Russian   |открыть      |скрыть       |показать скрытое оглавление     |скрыть оглавление    | 
 |Spanish   |mostrar      |ocultar      |mostrar contenido oculto        |ocultar contenido    | |Spanish   |mostrar      |ocultar      |mostrar contenido oculto        |ocultar contenido    |
Line 758: Line 759:
 Thank you for the support!\\ Thank you for the support!\\
 Tom 2009/09/29// Tom 2009/09/29//
 +//
  
 +----
 +
 +
 +This is a way to unfold / fold all
 +<code html>
 +<html>
 +<script type="text/javascript"><!--
 +function parseAll( expend ) {
 + var cpt = 1;
 + var obj = document.getElementById("folded_" + cpt++);
 + while ( obj != null ) {
 + if ( expend == "true" ) obj.className = obj.className.replace( "hidden", "" );
 + else obj.className = obj.className + " hidden";
 + obj = document.getElementById("folded_" + cpt++);
 + }
 +}
 +//--></script>
 +<input type="button" onClick="parseAll('true')" value="Expend All"/> <input type="button" onClick="parseAll()" value="Collapse All"/>
 +</html>
 +</code>
 +
 +
 +----
 +
 +Strangely the plugin doesn't seem to work with the include plugin (latest version)
 +when trying <nowiki> ++++somepage|{{page>somepage}}++++</nowiki> it shows the include page always 
 +
 +and when trying with <nowiki> ++somepage|{{page>somepage}}++ </nowiki> it gets even stranger; it works flawless in the preview mode, but when published it doesn't work anymore... (this happens in IE)
 +
 +does anyone know how to fix this problem??
 +
 +//Theo -- 28-12-09 //
 +> i found a temporary solution in [[http://wiki.jalakai.co.uk/dokuwiki/doku.php/tutorials/include?s[]=folded]]
 +> //Theo//
 
plugin/folded.1257355282.txt.gz · Last modified: 2009/11/04 18:21 by 74.93.99.97
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate