Hi Eric

> --------------
> <html><nowiki><a href="javascript:;" title="$3"
> onclick="story.switchTheme('$1'); return false;">$2</a></html>
> --------------

sure. I was aware it's a pretty minimal requirement
and could even have embedded the javascript directly
in the HTML, but wanted the modularity of a plugin.
Then felt if I was going to provide a plugin it might
as well provide a small sprinkle of syntactic sugar.

> see also:
>    http://www.TiddlyTools.com/#CycleThemes

I've an alternative macro version of this which
does less (I like plugins which do one thing) and
might be helpful to compare when thinking about
the cost versus benefits of transclusion over
macros:

http://whatfettle.com/2008/07/ToggleThemePlugin/

--
Paul (psd)
http://blog.whatfettle.com

--

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.


Reply via email to