Thanks! That got me experimenting...I was able to do it in a single
tiddler as follows:

[x($1|done){}{}{}] [[$1]] <script>
var out=[], n=0, t=store.getTiddler('$1');
tids = store.filterTiddlers("[tag[action]]");
for (var i=0; i<tids.length; i++) {
   if (t.tags.contains(tids[i].title)) out += (n++>0?', ':'') +
'['+'['+tids[i].title+']'+']';
}
if (out) return '[ @@color: #228B22; '+out+' @@ ]';
</script>

The only problem is that the color statement does not get applied to
the link that is generated.  Any ideas there?

--

You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.


Reply via email to