2012-06-10 12:40:53 +00:00
|
|
|
title: SliderMacro
|
|
|
|
tags: docs macro
|
2012-04-30 11:23:03 +00:00
|
|
|
|
|
|
|
The status of this slider is stored in the tiddler JackSlider:
|
2012-06-04 11:25:54 +00:00
|
|
|
|
2012-04-30 11:23:03 +00:00
|
|
|
<<slider JackSlider "Motovun Jack.jpg" "TiddlyWiki Kitten »" "See the kitten">>
|
|
|
|
|
|
|
|
And here's another slider that is also keyed to JackSlider:
|
2012-06-04 11:25:54 +00:00
|
|
|
|
2012-04-30 11:23:03 +00:00
|
|
|
<<slider JackSlider Introduction "HelloThere »">>
|
|
|
|
|
|
|
|
And here's another slider that contains a video, with the state stored in VideoSlider (currently <<tiddler VideoSlider>>):
|
2012-06-04 11:25:54 +00:00
|
|
|
|
2012-04-30 11:23:03 +00:00
|
|
|
<<slider VideoSlider VideoTests "VideoTests »">>
|
|
|
|
|
|
|
|
And here's a MiniSlider that works with text, rather than a separate tiddler.
|
2012-06-04 11:25:54 +00:00
|
|
|
|
2012-06-06 10:29:10 +00:00
|
|
|
<<slider state:MiniSlider label:"Click me! »"><This is the //content// of the slider. The state is stored in MiniSlider>>
|
2012-04-30 11:23:03 +00:00
|
|
|
|
|
|
|
And here's a slider that doesn't use a state tiddler:
|
2012-06-04 11:25:54 +00:00
|
|
|
|
2012-06-06 10:29:10 +00:00
|
|
|
<<slider label:"Click me! »"><This is the //content// of the slider. The state is not retained.>>
|