Hi Alberto
It worked for me. But, of course, I should have transcluded the image.
Thanks for the hint
Dominic
Am Dienstag, 17. Juni 2014 13:56:48 UTC+2 schrieb Alberto Molina:
>
> Hi all,
>
>
>> I wanted to do the same thing. This is the code I came up with:
>>
>> \define resettab(state)
>> <$reveal state=<<qualify $state$>> type="nomatch" text="">
>> <$tiddler tiddler=<<qualify $state$>>>
>> <span class="tw-tiddler-controls" style=
>> "position:relative;top:12px;">
>> <$button set={{!!title}} setTo="" class="btn-invisible">{{$:
>> /core/ui/ViewToolbar/close}}</$button>
>> </span>
>> </$tiddler>
>> </$reveal>
>> \end
>>
>> \define mytabs(filter:"Home" default:"" state:"$:/state/tab" class:"")
>> <<resettab "$state$">>
>> <<tabs "$filter$" "$default$" "$state$" "$class$">>
>> \end
>>
>> <$macrocall $name="mytabs" filter="one two three"/>
>>
>>
>> Dominic
>>
>
> The code of Dominic wasn't working (for me) because it
> uses $:/core/ui/ViewToolbar/close (which is a button in itself) instead of
> its image: $:/core/images/close-button
>
> Alberto
>
>
>
--
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.