G'day

I have this working.  Thank you.

Presently all the tags in my wiki are included and I only want
selected tags to appear.

How can I restrict the tabs to a selected set of tags?

Tony




On Oct 5, 7:54 pm, Eric Shulman <[email protected]> wrote:
> > The code below renders a multi tabbed 'box'.
>
> > Each tab is labelled with the name of a tiddler.
> > I would like to label each tab with the name of a tag and list the
> > tiddler titles under each tab.
>
> Instead of using ForEachTiddler, you can use
>    http://www.TiddlyTools.com/#InlineJavascriptPlugin
> to embed an inline script that generates the desired tabs, along with
> a set of corresponding *shadow* tiddlers to hold the content for those
> tabs.
>
> <script>
>         var tags=store.getTags();
>         if (!tags.length) return;
>         var tabs='';
>         var tabfmt='[[%0 (%1) ]] "list tiddlers tagged with %0" [[Tab%0]]';
>         for (var i=0; i<tags.length; i++) {
>                 tabs+=tabfmt.format([tags[i][0],tags[i][1]]);
>                 var txt='<<list filter [tag['+tags[i][0]+']]>>';
>                 config.shadowTiddlers['Tab'+tags[i][0]]=txt;
>         }
>         return '<<tabs chkTagTabs '+tabs+'>>';
> </script>
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios

-- 
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