Great job w!!

Thanks for sharing - this is indeed very usefull!

Regards Måns Mårtensson

On 20 Apr., 07:53, whatever <[email protected]> wrote:
> I solved the problem. Stupid me forgot to define the panelID. So
> here's the solution:
>
> |<<forEachTiddler where 'tiddler.tags.contains("navodila") && !
> tiddler.tags.contains("detajli")' write '"+++*["+tiddler.title
> +"]#panel1:...<<tiddler [["+tiddler.title+"]]>\>===|"'>>
> <<forEachTiddler where 'tiddler.tags.contains("navodila") && !
> tiddler.tags.contains("detajli")' write '"<<DOM move panel1>\>"'>>
>
> <<matchTags {{"+++*[%0]#panel1:...<<tiddler [[%0]]>\>==="}} "|"
> navodila AND NOT detajli>>
> <<matchTags {{"<<DOM move panel1>\>"}} " " navodila AND NOT detajli>>
>
> Beware Googlewrapping.
> Both examples work.
> I wanted to put tiddler names for panels, but since some of them
> include spaces, it doesn't work. Of course if your tiddlers don't
> include spaces, then instead of #panel1: you can use #"+tiddler.title
> +": in the first example and #%0: in the second.
> Also, note the use of two quotation marks separated with a space in
> the second line of the example. That's where the separator would go.
> If you omit the whole thing, the example doesn't work anymore and if
> you omit just the space, it adds newlines.
> The tube (|) at the beginning of the first line of the first example
> is there because I used it as a separator at the end of the nested
> sliders and is therefore added at the end as well. You don't need to
> worry about that in the second example, where the separator is defined
> within the syntax.
>
> w
>
> On Apr 14, 2:04 pm, whatever <[email protected]> wrote:
>
>
>
> > Actually I forgot the asterix in the first example, which makes both
> > examples work the same. But the problem of tiddlers being display at
> > the link location still remains.
>
> > w
>
> > On Apr 14, 2:01 pm, whatever <[email protected]> wrote:
>
> > > Hi!
> > > While the above works wonderfully, I have another situation. This
> > > time, I want to generate a list of tiddlers and have them displayed
> > > using the DOM macro. The problem is that the DOM macro needs to be at
> > > the end. I've tried the following:
>
> > > <<forEachTiddler where 'tiddler.tags.contains("navodila") && !
> > > tiddler.tags.contains("detajli")' write '"+++["+tiddler.title
> > > +"]...<<tiddler [["+tiddler.title+"]]>\>===|<<DOM move panel
> > > [["+tiddler.title+"]]>\>"'>>
> > > This ignores the DOM command and adds an additional | (tube) at the
> > > end.
>
> > > <<matchTags {{"+++*[%0]…<<tiddler [[%0]]>\>==="}} "|" navodila AND NOT
> > > detajli>>
> > > <<DOM move panel%0>>
> > > This displays the DOM panel at the location instead of underneath the
> > > tiddler list.
>
> > > Any ideas how I can make it work like Eric's example without having to
> > > manually specify each slider?
>
> > > w
>
> > > On Apr 9, 12:23 pm, whatever <[email protected]> wrote:
>
> > > > You trully are a plugin god! :D
> > > > w
>
> > > > On Apr 9, 11:48 am, Eric Shulman <[email protected]> wrote:
>
> > > > > > First, let me explain, what I'm trying to achieve.
>
> > > > > > Show last 10 | 20 | 50 | 100 changes.
> > > > > > --------------------------------------------------------
> > > > > > |                                                       |
> > > > > > |  content that depends on my choice  |
> > > > > > |                                                       |
> > > > > > --------------------------------------------------------
> > > > > > So when I click 10 or 20 or 50 or 100, the area changs accordingly.
> > > > > > I've tried with tabs and nested sliders, and while the results work 
> > > > > > as
> > > > > > expected, the surrounding text is "malformed". For example:
>
> > > > > Using
> > > > >    http://www.TiddlyTools.com/#NestedSlidersPlugin
> > > > >    http://www.TiddlyTools.com/#DOMTweaksPlugin
> > > > > you can write:
> > > > > ----------------------------------
> > > > > Show last +++*[10]#panel1:
> > > > >         stuff1
> > > > > ===
> > > > > | +++*[20]#panel2:
> > > > >         stuff2
> > > > > ===
> > > > > | +++*[50]#panel3:
> > > > >         stuff3
> > > > > ===
> > > > > | +++*[100]#panel4:
> > > > >         stuff4
> > > > > === changes.
> > > > > <<DOM move panel1>><<DOM move panel2>><<DOM move panel3>><<DOM move
> > > > > panel4>>
> > > > > ----------------------------------
>
> > > > > Note use of "*" to make "transient sliders", so that only one is open
> > > > > at a time, and use of "#id:" syntax to give slider panel elements DOM
> > > > > id values.  Then, using <<DOM>> macro, the named panels are moved from
> > > > > their default rendered location, so that they are grouped together,
> > > > > following the desired display text, so that opening a slider panel
> > > > > will not interfere with the text and links that appear above it.
>
> > > > > 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 
> athttp://groups.google.com/group/tiddlywiki?hl=en.

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