That works exactly as I'd hoped, Stefan, thank you! (btw, it was your great
site that got me as far as I'd gotten initially, so thanks for that as
well!)
On Sunday, December 7, 2014 2:26:11 PM UTC-5, Stephan Hradek wrote:
>
> Does this help?
>
> \define reveallink(link, state)
> <$reveal type="nomatch" state="$state$" text="show">
> <$button set="$state$" setTo="show" class="btn-invisible btn-link">
> $link$
> </$button>
> </$reveal>
> <$reveal type="match" state="$state$" text="show">
> <$button set="$state$" setTo="hide" class="btn-invisible btn-link">
> $link$
> </$button>
> </$reveal>
> \end
>
> \define revealtiddler(childtiddler, state) <$reveal type="match" state=
> "$state$" text="show">$childtiddler$</$reveal>
>
>
>
> Used like this:
>
> This is a paragraph in the containing tiddler that contains the
> <<reveallink "link" "$:/temp/SampleState">> to reveal the child tiddler.
> This is some more text to fill up the paragraph.
>
> <<revealtiddler "{{child tiddler}}" "$:/temp/SampleState">>
>
>
>
>
>
--
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.
For more options, visit https://groups.google.com/d/optout.