> A very small plugin to provide a button to switch to a named theme.
You could avoid plugins entirely by putting this little bit of HTML
into a tiddler called [[ThemeButton]]:
--------------
<html><nowiki><a href="javascript:;" title="$3"
onclick="story.switchTheme('$1'); return false;">$2</a></html>
--------------
Then, you embed it in content using transclusion:
<<tiddler ThemeButton with: ThemeName label tooltip>>
e.g.:
<<tiddler ThemeButton with:
DarkTheme "Dark Theme" "switch to the Darker Theme">>
see also:
http://www.TiddlyTools.com/#CycleThemes
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.