That didn't completely work, I had to revert to the following and I still
don't know what I'm doing:
\define d()
$:/temp/$(currentTiddler)$!!$(a)$
\end
\define toggle-body(a,b,c)
<$vars a="""$a$""" b="""$b$""" c="""$c$""">
<$reveal type="match" state=<<d>> text="">
<$button set=<<d>> setTo=<<b>> class="tc-btn-invisible">
<$transclude tiddler=<<a>> />
</$button>
</$reveal>
<$reveal type="nomatch" state=<<d>> text="">
<$button set=<<d>> setTo={{$c$!!target}} class="tc-btn-invisible">
<$transclude tiddler=<<c>> />
</$button>
</$reveal>
</$vars>
\end
\define toggle(a)
<$macrocall $name="toggle-body" a=$a$ b={{$a$!!target}}
c={{$:/temp/$(currentTiddler)$!!$a$}}/>
\end
Any more suggestions?
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/e56804c2-dff8-4ea5-b4c6-07a930706f0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.