Hi Eric,

>
> <div class="tc-drop-down tc-popup-keep">
>    <$list filter="[tags[]!is[system]sort[title]]">
>       <$macrocall $name="tag" tag=<<currentTiddler>>/>
>    </$list>
> </div>
>
> * by default, any click, whether inside or outside a popup, will dismiss 
> the popup.  This works well when the popup contents is just simple links. 
>  However, when further interaction is needed (i.e., when clicking a tag 
> pill that shows a list of tags), you need to add "tc-popup-keep" to the 
> drop-down class wrapper.  Clicks *inside* the popup will then no longer 
> dismiss the popup.  Clicks *outside* the popup will still close it, as 
> usual.
>
> * To show the tag pills rather than links to the tags themselves, use the 
> $macrocall widget to invoke the <<tag>> macro, passing in the 
> <<currentTiddler>> value (as set by the surrounding $list widget) as the 
> desired tag name.  The result is the display of a tag pill for each tag in 
> your document.
>
>  
Nice solution. Never thought of "tc-popup-keep".

Added a <br> after <$list filter ...> to get a vertical list of tags.

Thank you,

Ton

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/32017ab9-22b4-425c-ab37-8e3a09a0df67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to