You used "popup" for the button. Use "set"

\define slider(label)
<$reveal type="match" text="" default="" state="$:/state/$label$"><$button 
set="$:/state/$label$" setTo="open" class="btn-invisible tw-slider 
myslider-btn">{{$:/_images/down-arrow}}</$button></$reveal><$reveal type=
"nomatch" text="" default="" state="$:/state/$label$"><$button set=
"$:/state/$label$" setTo="" class="btn-invisible tw-slider myslider-btn">{{$
:/_images/up-arrow}}</$button></$reveal>
<$reveal type="nomatch" text="" default="" state="$:/state/$label$" animate=
"yes">

<$transclude/>

</$reveal>
\end

<$macrocall $name="slider" label={{!!title}}/>


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