G'day Eric I must be doing something wrong.
I downloaded the InlineJavascriptPlugin; then copied and pasted into a tiddler everything between the opening and closing script tags; then when I left edit mode I got the following error. [JavaScript Application] URIError: malformed URI sequence <script> var tags=store.getTags(); if (!tags.length) return; var tabs=; var tabfmt=' How should I implement your suggestion? Is ther something else I must do? What am I doing wrong? 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.

