TWISTY

This renders the button as well as the toggled content section contained within this and the closing ENDTWISTY tag.

Usage: %TWISTY{ ... }% Toggable contents %ENDTWISTY%
Parameter Value Description Remark
id Unique identifier Used to link TWISTYBUTTON and TWISTYTOGGLE optional
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. 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>
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 DocumentGraphics 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 DocumentGraphics 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 DocumentGraphics icons. Alternatively use an image attached to the topic.
optional, defaults to no image
hideimgright Image url Specify the url of an image that will be displayed with the hide link at the right side of the link.
You may use ICONURLPATH to display one of the DocumentGraphics icons. Alternatively use an image attached to the topic.
optional, defaults to no image
remember "on", "off" If "on", the Twisty state is remembered the next time the page is shown. If "off", the stored setting will be cleared.

ALERT! Note: when used, think carefully about a unique name (id) for the Twisty, otherwise the cookie that is set might affect other Twisties with the same name. Also note that only interaction is stored, not the state of the Twisty when left unclicked.
optional, no default
start "hide" or "show" Initial state of the Twisty; this will override any setting stored in a cookie (see remember). optional, default no initial state
firststart "hide" or "show" Initial state of the Twisty the first time the visitor gets to see the Twisty; this will NOT override cookie settings (see remember). optional, default no initial state
noscript "hide" Make content hidden in case use does not have JavaScript on optional, default content is shown in case JavaScript if off
class CSS class name Class for Twisty div or span optional, default none
linkclass CSS class name Class for link optional, default none
prefix Text Text to display before the show/hide links optional, default none
suffix Text Text to display after the show/hide links optional, default none
img Image url Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright. optional, defaults to no image
imgleft Image url Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright. optional, defaults to no image
imgright Image url Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright. optional, defaults to no image
hideimg Image url Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright. optional, defaults to no image
showimg Image url Deprecated, use showimgleft, hideimgleft, showimgright or hideimgright. optional, defaults to no image

  • Related: Could not perform search. Error was: 'tempfile' can't be called as a method at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Sandbox.pm line 506. at /usr/share/perl5/vendor_perl/File/Temp.pm line 1006. File::Temp::tempfile('File::Temp', 'STDERR.1475.XXXXXXXXXX', 'DIR', '/www/sugpo223/cgi-bin/wiki/working/tmp', 'UNLINK', 0) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Sandbox.pm line 506 Foswiki::Sandbox::sysCommand('Foswiki::Sandbox', '/bin/grep -E -l -H -- %TOKEN|U% %FILES|F%', 'TOKEN', '^%META:TOPICPARENT{.*\bname=\"TwistyPlugin\"', 'FILES', 'ARRAY(0x21e95c8)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/SearchAlgorithms/Forking.pm line 109 Foswiki::Store::SearchAlgorithms::Forking::search('^%META:TOPICPARENT{.*\bname=\"TwistyPlugin\"', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x21933e0)', 'Foswiki=HASH(0x1243e20)', 'HASH(0x211df38)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/SearchAlgorithms/Forking.pm line 267 Foswiki::Store::SearchAlgorithms::Forking::_webQuery('Foswiki::Search::Node=HASH(0x21e2df0)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x21933e0)', 'Foswiki=HASH(0x1243e20)', 'HASH(0x211df38)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/SearchAlgorithms/Forking.pm line 182 Foswiki::Store::SearchAlgorithms::Forking::query('Foswiki::Search::Node=HASH(0x21e2df0)', 'Foswiki::Iterator::FilterIterator=HASH(0x21933e0)', 'Foswiki=HASH(0x1243e20)', 'HASH(0x211df38)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/VC/Store.pm line 518 Foswiki::Store::VC::Store::query('Foswiki::Store::RcsLite=HASH(0x12af948)', 'Foswiki::Search::Node=HASH(0x21e2df0)', 'Foswiki::Iterator::FilterIterator=HASH(0x21933e0)', 'Foswiki=HASH(0x1243e20)', 'HASH(0x211df38)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/VC/Store.pm line 470 Foswiki::Store::VC::Store::searchInWebMetaData('Foswiki::Store::RcsLite=HASH(0x12af948)', 'Foswiki::Search::Node=HASH(0x21e2df0)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x21933e0)', 'Foswiki=HASH(0x1243e20)', 'HASH(0x211df38)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm line 192 Foswiki::Store::QueryAlgorithms::BruteForce::_webQuery('Foswiki::Query::Node=HASH(0x218e258)', 'System', undef, 'Foswiki=HASH(0x1243e20)', 'HASH(0x20fc9e8)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm line 78 Foswiki::Store::QueryAlgorithms::BruteForce::query('Foswiki::Query::Node=HASH(0x218e258)', undef, 'Foswiki=HASH(0x1243e20)', 'HASH(0x20fc9e8)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Store/VC/Store.pm line 518 Foswiki::Store::VC::Store::query('Foswiki::Store::RcsLite=HASH(0x12af948)', 'Foswiki::Query::Node=HASH(0x218e258)', undef, 'Foswiki=HASH(0x1243e20)', 'HASH(0x20fc9e8)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 839 Foswiki::Meta::query('Foswiki::Query::Node=HASH(0x218e258)', undef, 'HASH(0x20fc9e8)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Search.pm line 352 Foswiki::Search::searchWeb('Foswiki::Search=HASH(0x2065b60)', 'topic', 'Var*', 'search', 'parent.name=\'TwistyPlugin\'', 'basetopic', 'VarTWISTY', '_RAW', '\x{a} "parent.name=\'TwistyPlugin\'"\x{a} type="query"\x{a} topic="Var...', ...) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/SEARCH.pm line 32 Foswiki::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 419 eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 411 Error::subs::try('CODE(0x2065380)', 'HASH(0x208cf90)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/SEARCH.pm line 41 Foswiki::SEARCH('Foswiki=HASH(0x1243e20)', 'Foswiki::Attrs=HASH(0x2065560)', 'Foswiki::Meta=HASH(0x207aa80)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3145 Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x1243e20)', 'SEARCH', '\x{a} "parent.name=\'TwistyPlugin\'"\x{a} type="query"\x{a} topic="Var...', 'Foswiki::Meta=HASH(0x207aa80)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3021 Foswiki::_processMacros('Foswiki=HASH(0x1243e20)', '%SEARCH{\x{a} "parent.name=\'TwistyPlugin\'"\x{a} type="query"\x{a} to...', 'CODE(0x11a44a8)', 'Foswiki::Meta=HASH(0x207aa80)', 16) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 2818 Foswiki::innerExpandMacros('Foswiki=HASH(0x1243e20)', 'SCALAR(0x206e840)', 'Foswiki::Meta=HASH(0x207aa80)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/INCLUDE.pm line 297 Foswiki::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 419 eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 411 Error::subs::try('CODE(0x207b350)', 'HASH(0x2065140)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/INCLUDE.pm line 348 Foswiki::INCLUDE('Foswiki=HASH(0x1243e20)', 'Foswiki::Attrs=HASH(0x20495d8)', 'Foswiki::Meta=HASH(0x1b42cf0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3145 Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x1243e20)', 'INCLUDE', '"VarTWISTY" includingtopic="VarTWISTY" section="related"', 'Foswiki::Meta=HASH(0x1b42cf0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3021 Foswiki::_processMacros('Foswiki=HASH(0x1243e20)', '#VarTWISTY\x{a}---+++ TWISTY\x{a}This renders the button as well as t...', 'CODE(0x11a44a8)', 'Foswiki::Meta=HASH(0x1b42cf0)', 16) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 2818 Foswiki::innerExpandMacros('Foswiki=HASH(0x1243e20)', 'SCALAR(0x11b3760)', 'Foswiki::Meta=HASH(0x1b42cf0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3327 Foswiki::expandMacros('Foswiki=HASH(0x1243e20)', '#VarTWISTY\x{a}---+++ TWISTY\x{a}This renders the button as well as t...', 'Foswiki::Meta=HASH(0x1b42cf0)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 3103 Foswiki::Meta::expandMacros('Foswiki::Meta=HASH(0x1b42cf0)', '#VarTWISTY\x{a}---+++ TWISTY\x{a}This renders the button as well as t...') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI/View.pm line 412 Foswiki::UI::View::_prepare('#VarTWISTY\x{a}---+++ TWISTY\x{a}This renders the button as well as t...', 'Foswiki::Meta=HASH(0x1b42cf0)', 0) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI/View.pm line 392 Foswiki::UI::View::view('Foswiki=HASH(0x1243e20)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 316 Foswiki::UI::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 419 eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 411 Error::subs::try('CODE(0x87dc30)', 'HASH(0x1243a00)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 435 Foswiki::UI::_execute('Foswiki::Request=HASH(0x121d408)', 'CODE(0x121cf58)', 'view', 1) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 274 Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x121d408)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Engine/CGI.pm line 41 Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0xbcac48)') called
Topic revision: r1 - 27 Oct 2010, ProjectContributor
 

This site is powered by FoswikiCopyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Psychologie Kiel? Send feedback