mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-13 21:34:51 +00:00
a1c8ac624f
There are still some whitespace and attribute ordering issues, but the result runs correctly.
21 lines
654 B
Plaintext
21 lines
654 B
Plaintext
title: slider macro
|
|
modifier: colmbritton
|
|
created: 20110211143954
|
|
modified: 20110211144610
|
|
tags: macro
|
|
creator: colmbritton
|
|
|
|
The slider macro allows embedding tiddlers within another tiddler, with the option to toggle the visibility of the [[transclusion|transcluded]] content:
|
|
{{{
|
|
<<slider cookie tiddler label tooltip>>
|
|
}}}
|
|
* {{{cookie}}}: variable to save the state of the slider (e.g. {{{chkFooSlider}}})
|
|
* {{{tiddler}}}: name of the tiddler to include in the slider
|
|
* {{{label}}}: title text of the slider
|
|
* {{{tooltip}}}: tooltip text of the slider
|
|
|
|
For example:
|
|
{{{
|
|
<<slider chkTestSlider [[OptionsPanel]] "Options" "Open advanced options">>
|
|
}}}
|