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 TWISTY, except for
noscriptandclass(only used for 'toggle' content) - Parameter differences:
-
mode: button mode defaults to div
-
- Syntax:
%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 asdiv,modeshould bedivas well to create valid HTML markup.optional, defaults to <div> - Example:
%TWISTYBUTTON{ id="myid" link="more" }%%TWISTYTOGGLE{ id="myid" }%content%ENDTWISTYTOGGLE% - Expands as: content
- Related: VarENDTWISTY, VarENDTWISTYTOGGLE, VarTWISTY, VarTWISTYBUTTON, VarTWISTYHIDE, VarTWISTYSHOW, VarTWISTYTOGGLE