mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Added tooltip option
Tooltips should be entered in the 'tooltip' field of each tab tiddler
This commit is contained in:
parent
15eab0ce1c
commit
03519c14b0
@ -5,13 +5,15 @@ tags: $:/tags/Macro
|
||||
<div class="tc-tab-set $class$">
|
||||
<div class="tc-tab-buttons $class$">
|
||||
<$list filter="$tabsList$" variable="currentTab">
|
||||
<$button set=<<qualify "$state$">> setTo=<<currentTab>> default="$default$" selectedClass="tc-tab-selected">
|
||||
<$tiddler tiddler=<<currentTab>> >
|
||||
<$button set=<<qualify "$state$">> setTo=<<currentTab>> default="$default$" selectedClass="tc-tab-selected" tooltip={{!!tooltip}}>
|
||||
<$set name="tv-wikilinks" value="no">
|
||||
<$transclude tiddler=<<currentTab>> field="caption">
|
||||
<$macrocall $name="currentTab" $type="text/plain" $output="text/plain"/>
|
||||
</$transclude>
|
||||
</$set>
|
||||
</$button>
|
||||
</$tiddler>
|
||||
</$list>
|
||||
</div><div class="tc-tab-divider $class$"/><div class="tc-tab-content $class$">
|
||||
<$list filter="$tabsList$" variable="currentTab">
|
||||
|
Loading…
Reference in New Issue
Block a user