Thanks Diego,

Yes I would use Evans formula but as I am building a plugin I am trying to 
avoid dependencies.

I just solved it

\define infodesc(tiddlername) 
<$button tooltip={{$tiddlername$!!description}} class="tc-btn-invisible 
tc-tiddlylink" > 
{{$:/core/images/info-button}} </$button> 
\end

<<infodesc tiddlername>>


Thanks
Tony

On Wednesday, January 24, 2018 at 1:22:48 PM UTC+11, Diego Mesa wrote:
>
> Hey Tony,
>
> This might not be the TW way to do this, but I just used Evans formula 
> plugin like so:
>
> <$button tooltip=(= {{test!!description}}=) class="tc-btn-invisible 
> tc-tiddlylink" > 
> {{$:/core/images/info-button}}
> </$button>
>
> Where I set a test tiddlers description field appropriately and this 
> worked. You cant test it on:
>
> http://evanbalster.com/tiddlywiki/formulas.html
>
> On Tuesday, January 23, 2018 at 5:27:57 PM UTC-6, TonyM wrote:
>>
>> Folks,
>>
>>
>> Some help required please.
>>
>>
>> I would like to create a button that does nothing, but has a tooltip = to a 
>> value in another tiddlers field
>>
>>
>> In this case the Other tiddler can be found with the macro <<currentMenu>> 
>> and I would like the tool-tip to come from <<currentMenu>>'s description 
>> field
>>
>>
>> <$button tooltip="Description of <<currentMenu>>" class="tc-btn-invisible 
>> tc-tiddlylink" > 
>> {{$:/core/images/info-button}}
>> </$button>
>>
>>
>> This is where I have started, does not work of course, but not sure how to 
>> proceed.
>>
>>
>> Thanks
>>
>> Tony
>>
>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e3e1098b-98df-4da1-812a-481abce5a04e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to