Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/rdiff/TWiki/TwistyPlugin?type=last
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 20:55:31 2014
Кодировка:
%TOPICTITLE% (3 vs. 4) - TWiki
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r4  >  r3  >  r2  >  r1
TwistyPlugin 4 - 2007-11-19 - Main.TWikiAdminUser
Line: 1 to 1
 

TwistyPlugin

A "twisty" is an interface toggle control to show and hide content.

Line: 190 to 190
 
%TWISTY{
showlink="Show..."
Changed:
<
<
hidelink="Hide
>
>
hidelink="Hide"
 start="hide" }% my twisty content
Line: 199 to 199
  %TWISTY{ showlink="Show..."
Changed:
<
<
hidelink="Hide
>
>
hidelink="Hide"
 start="hide" }% my twisty content
Line: 325 to 325
  %TWISTY{ prefix="

!!"

Added:
>
>
mode="div"
 link="Header" showimgleft="/pub/TWiki/TWikiDocGraphics/toggleopen.gif" hideimgleft="/pub/TWiki/TWikiDocGraphics/toggleclose.gif"
Line: 422 to 423
 
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
Changed:
<
<
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
Line: 464 to 465
 
Changed:
<
<
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%
 

Line: 475 to 477
 
Parameter Value Description Remark
id Unique identifier Used to link TWISTYSHOW, TWISTYHIDE and TWISTYTOGGLE required
link Link label Show link label optional
Changed:
<
<
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
Line: 493 to 495
 
Parameter Value Description Remark
id Unique identifier Used to link TWISTYSHOW, TWISTYHIDE and TWISTYTOGGLE required
link Link label Hide link label optional
Changed:
<
<
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