#VarTWISTYBUTTON ---+++ TWISTYBUTTON *Shorthand version for TWISTYSHOW & TWISTYHIDE* This is useful if both the show and the hide button take the same arguments. * Supported parameters: all parameters supported by [[#VarTWISTYSHOW][TWISTY]], except for =noscript= and =class= (only used for 'toggle' content) * Parameter differences: * =mode=: button mode defaults to div * Syntax: =%<nop>TWISTYBUTTON{id="myid" ... }%= * Supported parameters: | *Parameter* | *Value* | *Description* | *Remark* | | =mode= | ="div"= or ="span"= | Specify if the *Twisty button* will use a =<div>= or a =<span>= tag. Note that if the contents contains block elements such as =div=, =mode= should be =div= as well to create valid HTML markup. | optional, defaults to =<div>= | * Example: <verbatim class="tml">%TWISTYBUTTON{ id="myid" link="more" }%%TWISTYTOGGLE{ id="myid" }%content%ENDTWISTYTOGGLE%</verbatim> * Expands as: %TWISTYBUTTON{id="myid" link="more"}%%TWISTYTOGGLE{id="myid"}%content%ENDTWISTYTOGGLE% * Related: %INCLUDE{"VarTWISTY" section="related" includingtopic="%INCLUDINGTOPIC%"}% <!--%JQREQUIRE{"chili"}%-->
This topic: System
>
Plugins
>
TwistyPlugin
>
VarTWISTYBUTTON
Topic revision: revision 1 (raw view)
Copyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding BACCHUS Wiki?
Send feedback