| | TwistyPlugin
A "twisty" is an interface toggle control to show and hide content. |
| |
%TWISTY{
showlink="Show..." |
|
< < | hidelink="Hide |
> > | hidelink="Hide" |
| | start="hide"
}%
my twisty content |
| |
%TWISTY{
showlink="Show..." |
|
< < | hidelink="Hide |
> > | hidelink="Hide" |
| | start="hide"
}%
my twisty content |
| |
%TWISTY{
prefix="!!" |
|
> > | mode="div" |
| | link="Header"
showimgleft="/pub/TWiki/TWikiDocGraphics/toggleopen.gif"
hideimgleft="/pub/TWiki/TWikiDocGraphics/toggleclose.gif" |
| |
link |
Link label |
Link label for both show and hide links |
optional |
hidelink |
Link label |
Hide link label |
optional |
showlink |
Link label |
Show link label |
optional |
|
|
< < |
mode |
"div" or "span" |
Specify if the Twisty Toggle section will use a <div> or a <span> tag. |
optional, defaults to <span> |
|
> > |
mode |
"div" or "span" |
Specify if the Twisty Toggle section 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 <span> |
|
| |
showimgleft |
Image url |
Specify the url of an image that will be displayed with the show link at the left side of the link. You may use ICONURLPATH to display one of the TWikiDocGraphics icons. Alternatively use an image attached to the topic. |
optional, defaults to no image |
hideimgleft |
Image url |
Specify the url of an image that will be displayed with the hide link at the left side of the link. You may use ICONURLPATH to display one of the TWikiDocGraphics icons. Alternatively use an image attached to the topic. |
optional, defaults to no image |
showimgright |
Image url |
Specify the url of an image that will be displayed with the show link at the right side of the link. You may use ICONURLPATH to display one of the TWikiDocGraphics icons. Alternatively use an image attached to the topic. |
optional, defaults to no image |
|
| |
- Syntax:
%TWISTYBUTTON{id="myid" ... }%
- Supported parameters:
|
|
< < |
mode |
"div" or "span" |
Specify if the Twisty button will use a <div> or a <span> tag |
optional, defaults to <span> |
|
> > |
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 <span> |
- Example:
%TWISTYBUTTON{id="myid" link="more"}%%TWISTYTOGGLE{id="myid"}%content%ENDTWISTYTOGGLE%
|
| |
|
| |
|
|
< < |
mode |
"div" or "span" |
Specify if the Twisty Show link will use a <div> or a <span> tag |
optional, defaults to <span> |
|
> > |
mode |
"div" or "span" |
Specify if the Twisty Show link 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 <span> |
|
| |
img |
Image url |
Specify the url of an image that will be displayed at the right side of the link. You may use ICONURLPATH to display one of the TWikiDocGraphics icons. Alternatively use an image attached to the topic. |
optional, defaults to no image |
imgleft |
Image url |
Specify the url of an image that will be displayed at the left side of the link. You may use ICONURLPATH to display one of the TWikiDocGraphics icons. Alternatively use an image attached to the topic. |
optional, defaults to no image |
imgright |
Image url |
Specify the url of an image that will be displayed at the right side of the link. You may use ICONURLPATH to display one of the TWikiDocGraphics icons. Alternatively use an image attached to the topic. |
optional, defaults to no image |
|
| |
|
|
< < |
mode |
"div" or "span" |
Specify if the Twisty Hide link will use a <div> or a <span> tag |
optional, defaults to <span> |
|
> > |
mode |
"div" or "span" |
Specify if the Twisty Hide link 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 <span> |
|
| |
img |
Image url |
Specify the url of an image that will be displayed at the right side of the link. You may use ICONURLPATH to display one of the TWikiDocGraphics icons. Alternatively use an image attached to the topic. |
optional, defaults to no image |
|
|