TWISTYTOGGLE

Twisty Toggle contents section
  • Syntax: %TWISTYTOGGLE{id="myid"}%
  • Supported parameters:
    Parameter Value Description Remark
    id Unique identifier Used to link TWISTYSHOW, TWISTYHIDE and TWISTYTOGGLE. required
    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>
    class CSS class name Class for content div or span optional, default none
    linkclass CSS class name Class for link optional, default none
    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.
    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 with no JavaScript
  • Example:
    %TWISTYTOGGLE{id="demo" mode="div" remember="on"}%My content%ENDTWISTYTOGGLE%
  • 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.13746.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(0x2b8e248)') 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(0x2b370d0)', 'Foswiki=HASH(0x1c12e20)', 'HASH(0x2b2e3c0)') 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(0x2b87b30)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x2b370d0)', 'Foswiki=HASH(0x1c12e20)', 'HASH(0x2b2e3c0)') 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(0x2b87b30)', 'Foswiki::Iterator::FilterIterator=HASH(0x2b370d0)', 'Foswiki=HASH(0x1c12e20)', 'HASH(0x2b2e3c0)') 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(0x1c7e948)', 'Foswiki::Search::Node=HASH(0x2b87b30)', 'Foswiki::Iterator::FilterIterator=HASH(0x2b370d0)', 'Foswiki=HASH(0x1c12e20)', 'HASH(0x2b2e3c0)') 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(0x1c7e948)', 'Foswiki::Search::Node=HASH(0x2b87b30)', 'System', 'Foswiki::Iterator::FilterIterator=HASH(0x2b370d0)', 'Foswiki=HASH(0x1c12e20)', 'HASH(0x2b2e3c0)') 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(0x2b33ad8)', 'System', undef, 'Foswiki=HASH(0x1c12e20)', 'HASH(0x2ab5138)') 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(0x2b33ad8)', undef, 'Foswiki=HASH(0x1c12e20)', 'HASH(0x2ab5138)') 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(0x1c7e948)', 'Foswiki::Query::Node=HASH(0x2b33ad8)', undef, 'Foswiki=HASH(0x1c12e20)', 'HASH(0x2ab5138)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 839 Foswiki::Meta::query('Foswiki::Query::Node=HASH(0x2b33ad8)', undef, 'HASH(0x2ab5138)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Search.pm line 352 Foswiki::Search::searchWeb('Foswiki::Search=HASH(0x2807eb0)', '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(0x28076d0)', 'HASH(0x2808498)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/SEARCH.pm line 41 Foswiki::SEARCH('Foswiki=HASH(0x1c12e20)', 'Foswiki::Attrs=HASH(0x28078b0)', 'Foswiki::Meta=HASH(0x2a1e488)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3145 Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x1c12e20)', 'SEARCH', '\x{a} "parent.name=\'TwistyPlugin\'"\x{a} type="query"\x{a} topic="Var...', 'Foswiki::Meta=HASH(0x2a1e488)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3021 Foswiki::_processMacros('Foswiki=HASH(0x1c12e20)', '%SEARCH{\x{a} "parent.name=\'TwistyPlugin\'"\x{a} type="query"\x{a} to...', 'CODE(0x1b734a8)', 'Foswiki::Meta=HASH(0x2a1e488)', 16) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 2818 Foswiki::innerExpandMacros('Foswiki=HASH(0x1c12e20)', 'SCALAR(0x2a0a450)', 'Foswiki::Meta=HASH(0x2a1e488)') 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(0x2a1eaa0)', 'HASH(0x2a1f1d8)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Macros/INCLUDE.pm line 348 Foswiki::INCLUDE('Foswiki=HASH(0x1c12e20)', 'Foswiki::Attrs=HASH(0x27b4390)', 'Foswiki::Meta=HASH(0x251aa18)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3145 Foswiki::_expandMacroOnTopicRendering('Foswiki=HASH(0x1c12e20)', 'INCLUDE', '"VarTWISTY" section="related" includingtopic="VarTWISTYTOGGLE"', 'Foswiki::Meta=HASH(0x251aa18)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3021 Foswiki::_processMacros('Foswiki=HASH(0x1c12e20)', '#VarTWISTYTOGGLE\x{a}---+++ TWISTYTOGGLE\x{a}*Twisty Toggle contents ...', 'CODE(0x1b734a8)', 'Foswiki::Meta=HASH(0x251aa18)', 16) called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 2818 Foswiki::innerExpandMacros('Foswiki=HASH(0x1c12e20)', 'SCALAR(0x1b82760)', 'Foswiki::Meta=HASH(0x251aa18)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki.pm line 3327 Foswiki::expandMacros('Foswiki=HASH(0x1c12e20)', '#VarTWISTYTOGGLE\x{a}---+++ TWISTYTOGGLE\x{a}*Twisty Toggle contents ...', 'Foswiki::Meta=HASH(0x251aa18)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/Meta.pm line 3103 Foswiki::Meta::expandMacros('Foswiki::Meta=HASH(0x251aa18)', '#VarTWISTYTOGGLE\x{a}---+++ TWISTYTOGGLE\x{a}*Twisty Toggle contents ...') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI/View.pm line 412 Foswiki::UI::View::_prepare('#VarTWISTYTOGGLE\x{a}---+++ TWISTYTOGGLE\x{a}*Twisty Toggle contents ...', 'Foswiki::Meta=HASH(0x251aa18)', 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(0x1c12e20)') 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(0x124cc30)', 'HASH(0x1c12a00)') called at /www/sugpo223/cgi-bin/Foswiki-1.1.4_neu/lib/Foswiki/UI.pm line 435 Foswiki::UI::_execute('Foswiki::Request=HASH(0x1bec408)', 'CODE(0x1bebf58)', '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(0x1bec408)') 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(0x1599c38)') called
Topic revision: r1 - 19 Sep 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