Hello all,
This seems like it should be really easy, but I can't find the answer anywhere, and my test are not working.
I would like to create a 'reveal' button that use the $:/core/images/spiral image as the target for the click.
I know how to make a general reveal button.
<$button class="tc-btn-invisible" popup=<<qualify "$:/temp/popup">>>
Button Text
</$button>
<$reveal type="nomatch" state=<<qualify "$:/temp/popup">> text="">
This is the contents that are revealed when pressing the button, you can include any type of tiddly wiki
item within this section, including buttons (and possibly transclusions? need to test).
Just ensure the contents are between the ``reveal`` tags
</$reveal>
I have even used the 'edit' tiddler icon in the past (sample below)
<$button class="tc-btn-invisible" title="Edit this tiddler">
<$action-sendmessage $message="tm-edit-tiddler"/>
{{$:/core/images/edit-button}}
</$button>
But can't work out how to do the same for the other core images.
I've tried
<$button class="tc-btn-invisible" title="Edit this tiddler">
{{$:/core/images/spiral}}
</$button>
But get no image showing up, so I tried with an [img[
{{$:/core/images/edit-button}}]] but again no joy.
I'm guessing the problem is somehow related to my desire to transclue a system tiddler.
Any help will be greately appreciated.
David