Hi Matthew,
It works now.  The macro definition was what I missed out.. :)
Thanks


On Monday, 18 August 2014 11:18:09 UTC+8, Matthew DeAbreu wrote:
>
> Make sure you include the macro definition so the full code would look 
> something like this:
>
> \define toc-heading(caption,body)
> <$reveal type="nomatch" state=<<qualify "$:/state/toc/$caption$">> 
> text="show">
> <$button set=<<qualify "$:/state/toc/$caption$">> setTo="show" class="btn
> -invisible">{{$:/core/images/right-arrow}} $caption$
> </$button>
> </$reveal>
> <$reveal type="match" state=<<qualify "$:/state/toc/$caption$">> 
> text="show">
> <$button set=<<qualify "$:/state/toc/$caption$">> setTo="hide" class="btn
> -invisible">{{$:/core/images/down-arrow}} $caption$
> </$button>
> </$reveal>
> <$reveal type="match" state=<<qualify "$:/state/toc/$caption$">> 
> text="show" retain="yes" animate="yes">
>
> $body$
>
> </$reveal>
> \end
>
> <<toc-heading "Games" "
> <ol>
> <$list filter='[!is[system]tag[Game]]'>
>     <li><ol><li><$link><$view field='title'/></$link></li></ol></li>
> </$list>
> </ol>
> ">>
>
> Hope this helps
>
>

-- 
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.

Reply via email to