A "twisty" is a collabsable area to hide/show certain areas of a webpage.
jqTwisty
css class to install the twisty on a trigger element. The toggle container is then specified using a target
argument, defaulting to the next adjacent html node in the tree,
%BUTTON{"Click me" class="jqTwisty"}% <div> Here comes the container. </div>
Name | Description | Default |
---|---|---|
openText | text of the trigger button when the container is hidden | html text of the trigger element |
closeText | text to be displayed when the container is shown | same as openText |
openImg | url of an image displayed when the container is hidden | |
closeImg | url of an image displayed when the container is shown | |
initialState | initial state of the container: can be 'open' or 'close' | close |
remember | remember the state of the twisty using localStore | false |
target | jquer selector of container(s) to toggle their visibility | next html node following the twisty trigger |
Event | Description |
---|---|
inited.twisty | the twisty has been initialized |
beforeOpen.twisty | the twisty is about to be opened |
afterOpen.twisty | the twisty has been opened |
beforeClosed.twisty | the twisty is about to be closed |
afterClose.twisty | the twisty has been closed |
Event | Description |
---|---|
open.twisty | opens the twist |
close.twisty | closes the twist |
#include <iostream> using namespace std; int main() { cout << "Hello, World!"; return 0; }
Has ei inermis ponderum, senserit recteque quo ne. Reque sadipscing te vim, eu possit labores platonem eam, pri debet accusam copiosae ea. Alii graeci verear in pri. Vel cu graeco nonumes maiorum, legere comprehensam has ad. Graece petentium vix ne, aliquip recusabo te pri.
Vim ad dicunt mentitum tacimates, his at illud suavitate. Ubique dictas deserunt mea ut. Idque labore inciderint in his, ad saepe eruditi erroribus his. Phaedrum argumentum ex vis. In iusto exerci scaevola mel, ex expetendis scripserit sit.
Omnis copiosae vix ad, per oratio suscipiantur ad. Est ne congue verear comprehensam. Nec mucius dicunt dignissim te, cu qui laoreet fastidii, iriure propriae appellantur cum eu. Ea vis dicat novum, feugiat tractatos interesset in ius, vel wisi offendit te. Possit feugiat similique per at, viris verear an quo.
Iusto suscipiantur at pri. Qui aliquid delenit ad, ex eos porro cotidieque. Wisi velit sea ex, nec sale molestiae an. Duo minim inermis recusabo cu, vel utinam oporteat ad, amet brute usu ut. Scribentur philosophia in mea. In iuvaret fierent sadipscing ius, in possit alienum pro.Has ei inermis ponderum, senserit recteque quo ne. Reque sadipscing te vim, eu possit labores platonem eam, pri debet accusam copiosae ea. Alii graeci verear in pri. Vel cu graeco nonumes maiorum, legere comprehensam has ad. Graece petentium vix ne, aliquip recusabo te pri.
Vim ad dicunt mentitum tacimates, his at illud suavitate. Ubique dictas deserunt mea ut. Idque labore inciderint in his, ad saepe eruditi erroribus his. Phaedrum argumentum ex vis. In iusto exerci scaevola mel, ex expetendis scripserit sit.
Omnis copiosae vix ad, per oratio suscipiantur ad. Est ne congue verear comprehensam. Nec mucius dicunt dignissim te, cu qui laoreet fastidii, iriure propriae appellantur cum eu. Ea vis dicat novum, feugiat tractatos interesset in ius, vel wisi offendit te. Possit feugiat similique per at, viris verear an quo.
Iusto suscipiantur at pri. Qui aliquid delenit ad, ex eos porro cotidieque. Wisi velit sea ex, nec sale molestiae an. Duo minim inermis recusabo cu, vel utinam oporteat ad, amet brute usu ut. Scribentur philosophia in mea. In iuvaret fierent sadipscing ius, in possit alienum pro.cd /path/to/foswiki perl tools/extension_installer <NameOfExtension> installIf you have any problems, or if the extension isn't available in
configure
, then you can still install manually from the command-line. See https://foswiki.org/Support/ManuallyInstallingExtensions for more help.
Name | Version | Description |
---|---|---|
Foswiki::Plugins::JQueryPlugin | >=4.00 | Required. |
26 Oct 2020: | compatibility with jquery-3; added remember feature |
16 Aug 2018: | maintenance and docu |
17 Jul 2015: | added css classes to indicate twisty state |
15 Mar 2014: | fixed syntax error in contrib stub |
13 Dec 2013: | support html elements to be used as twisty toggles |
12 Jun 2012: | initial release |
Author | Michael Daum |
Version | 3.00 |
Release | 26 Oct 2020 |
Description | Lightweight twisty plugin |
Repository | https://github.com/foswiki/JQTwistyContrib |
Copyright | © 2012-2020 Michael Daum |
License | GPL (Gnu General Public License) |
Home | Foswiki:Extensions/JQTwistyContrib |
Support | Foswiki:Support/JQTwistyContrib |