Difference: TwistyContrib (1 vs. 18)

Revision 182018-07-06 - TWikiContributor

Line: 1 to 1
 

TwistyContrib

Revision 172015-04-28 - TWikiContributor

Line: 1 to 1
 

TwistyContrib

Changed:
<
<
>
>
 
Added:
>
>
 Twisty section Javascript library to open/close content dynamically

Introduction

Line: 175 to 177
 
Authors: JavaScript written by TWiki:Main.ArthurClemens; Contrib packaged by TWiki:Main.RafaelAlvarez; original JavaScript written by TWiki:Main.SamHasler
Changed:
<
<
Copyright: © 2005 Sam Hasler and Rafael Alvarez
© 2006-2007 Arthur Clemens
© 2008-2013 Peter Thoeny
© 2005-2013 TWiki:TWiki.TWikiContributor
>
>
Copyright: © 2005 Sam Hasler and Rafael Alvarez
© 2006-2007 Arthur Clemens
© 2008-2015 Peter Thoeny
© 2005-2015 TWiki:TWiki.TWikiContributor
 
License: GPL
Dependencies:
NameVersionDescription
TWiki::Plugins::BehaviourContrib>=1.000Required
Changed:
<
<
Version: 2013-02-16
>
>
Version: 2015-04-28
 
<--/twistyPlugin twikiMakeVisibleInline-->
Added:
>
>
2015-04-28: TWikibug:Item7648: Less intrusive Twisty link - no dotted underlines
 
2013-02-16: TWikibug:Item7123: Use TWISTY in installation instructions and change history
2011-07-10: TWikibug:Item6725: Change global package variables from "use vars" to "our"
2010-05-15: TWikibug:Item6433 - doc improvements; replacing TWIKIWEB with SYSTEMWEB

Revision 162013-02-16 - TWikiContributor

Line: 1 to 1
 

TwistyContrib

Revision 152011-07-10 - TWikiContributor

Line: 1 to 1
 

TwistyContrib

Revision 142011-07-10 - TWikiContributor

Line: 1 to 1
 

TwistyContrib

Revision 132011-07-10 - TWikiContributor

Line: 1 to 1
 

TwistyContrib

Revision 122011-07-10 - TWikiContributor

Line: 1 to 1
 

TwistyContrib

Revision 112010-05-16 - TWikiContributor

Line: 1 to 1
 

TwistyContrib

Added:
>
>
<--
   Contributions to this TWiki extension are appreciated. Please update the contrib page
   at http://twiki.org/cgi-bin/view/Plugins/TwistyContrib or provide feedback
   at http://twiki.org/cgi-bin/view/Plugins/TwistyContribDev.
   If you are a TWiki contributor please update the extension in the SVN repository.
-->
Twisty section Javascript library to open/close content dynamically
 
Changed:
<
<
This contrib packages in a convenient way the JavaScript library and the CSS file needed to implement Twisty sections.
>
>

Introduction

 
Changed:
<
<
TwistyContrib is installed by default in TWiki 4 and used by Twisty Plugin.
>
>
This contrib packages in a convenient way the JavaScript library and the CSS file needed to implement Twisty sections.
 
Changed:
<
<
It is recommended to use the TwistyPlugin as it eases the deployment and use of this contrib.

This Contrib should work with TWiki 4 and newer.

>
>
TwistyContrib is installed by default in TWiki and used by TwistyPlugin.
 
Changed:
<
<
>
>
It is recommended to use the TwistyPlugin as it eases the deployment and use of this contrib.
 

Usage examples

Line: 53 to 63
 

Twisty made easy

Changed:
<
<
Manual written by Harald Joerg. Examples require Spreadsheet Plugin to work (installed by default).
>
>
Manual written by Harald Joerg. Examples require SpreadSheetPlugin to work (installed by default).
 
Changed:
<
<
Some of my TWiki users are impressed by the optical effect of what can be done with TWiki:Plugins.TwistyPlugin - and they keep asking me: "How do I do that? I don't understand the documentation, and I don't understand the raw text of your topics!"
>
>
Some of my TWiki users are impressed by the optical effect of what can be done with TwistyPlugin - and they keep asking me: "How do I do that? I don't understand the documentation, and I don't understand the raw text of your topics!"
 
Changed:
<
<
They indeed have a point here. The docs aren't easily understood. It isn't easy to pick all the variables needed from a single example, and just copypasting sometimes fails in embarrassing ways if non-unique id attributes are present in a topic. Maybe it is easy for a power user, but it surely isn't easy enough. There ought to be a way to make it easier.
>
>
They indeed have a point here. The docs aren't easily understood. It isn't easy to pick all the variables needed from a single example, and just copy&pasting sometimes fails in embarrassing ways if non-unique id attributes are present in a topic. Maybe it is easy for a power user, but it surely isn't easy enough. There ought to be a way to make it easier.
  Well, here you are.
Line: 66 to 76
 

You Write

Changed:
<
<
In your Main.TWikiPreferences write:
>
>
In your Main.TWikiPreferences write:
 
   * Set FLIP = <span id="twid_%CALC{$SETM(twisty_id, + 1)$GET(twisty_id)}%show" class="twistyTrigger twistyMakeVisible">
       <a href="#">more...</a>
Line: 77 to 88
 
  • Set FLOP =
Changed:
<
<
TIP You can include the text in a verbatim block if you want (like I have done here). Additionally I've added plenty of newlines and spaces to make it readable. This works, and you don't have to care for invalid HTML!
>
>
TIP You can include the text in a verbatim block if you want (like I have done here). Additionally I've added plenty of newlines and spaces to make it readable. This works, and you don't have to care for invalid HTML!
 

Your Users Write

Added:
>
>
 In any topic, your users can now write things like this:
Changed:
<
<
  • Brace and parenthesize in K&R style
>
>
  • Brace and parenthesize in K&R style
  more... close
Changed:
<
<
When setting out a code block, use the K&R style of bracketing. That is, place the opening brace at the end of the construct that controls the block. ...
>
>
When setting out a code block, use the K&R style of bracketing. That is, place the opening brace at the end of the construct that controls the block. ...
 
  • Separate your control keywords from the following opening bracket more... close
Changed:
<
<
Control structures regulate the dynamic behaviour of a program, so the keywords of control structures are the most critical components of a program. ...
>
>
Control structures regulate the dynamic behavior of a program, so the keywords of control structures are the most critical components of a program. ...
 
Line: 97 to 105
 

You See

Added:
>
>
 
Changed:
<
<
When setting out a code block, use the K&R style of bracketing. That is, place the opening brace at the end of the construct that controls the block. ...
>
>
When setting out a code block, use the K&R style of bracketing. That is, place the opening brace at the end of the construct that controls the block. ...
 
  • Separate your control keywords from the following opening bracket more... close
Changed:
<
<
Control structures regulate the dynamic behaviour of a program, so the keywords of control structures are the most critical components of a program. ...
>
>
Control structures regulate the dynamic behaviour of a program, so the keywords of control structures are the most critical components of a program. ...
 

All on, all off

Line: 137 to 141
 Expand all Collapse all
Deleted:
<
<
 

Settings

Changed:
<
<
  • Set SHORTDESCRIPTION = Twisty section javascript library to open/close content dynamically

You can also set the global TWiki variable TWISTYCONTRIB_DEBUG to 1 to make the contrib use uncompressed javascript sources, in the event of problems.

>
>
  • Set SHORTDESCRIPTION = Twisty section Javascript library to open/close content dynamically
 
Added:
>
>
You can also set the global TWiki variable TWISTYCONTRIB_DEBUG to 1 to make the contrib use uncompressed Javascript sources, in the event of problems.
 

Installation Instructions

Added:
>
>
 %*INSTALL_INSTRUCTIONS%
  • TwistyContrib uses these header includes:

Line: 152 to 153
 
  • TwistyContrib uses these header includes:
    <style type="text/css" media="all">
Changed:
<
<
@import url("https://collaborate.nist.gov/voting/pub/TWiki/TwistyContrib/twist.css");
>
>
@import url("https://collaborate.nist.gov/voting/pub/TWiki/TwistyContrib/twist.css");
 
Changed:
<
<
<--