Hi Scott,

There is no javascript involved.
I am an end-user, no developer/programmer.
It all uses TiddlyWiki filters, list, etc.

The menu uses a slider macro (at the start of the menu tiddler)

\define slider(label,text)
<$button popup="$:/state/$label$" class="btn-invisible tw-slider"><$list 
filter="[[$label$]]"><$view field="title"/></$list></$button>
<$reveal type="nomatch" text="" default="" state="$:/state/$label$" animate=
"yes">
$text$
</$reveal>
\end

To be called as:

<<slider "label" "text">>

The actual menu uses things like:

<<slider "Documentation »" "{{Submenu Documentation}}">>
<<slider "Menus »" "{{Submenu Menus}}">>

Note: instead of text in the slider macro, the tiddler 'Submenu 
Documentation' will be transcluded.

The submenu tiddler 'Submenu Documentation' contains:

<ul>
<$list filter="[tag[documentation]sort[title]]"><li><$link 
to={{!!title}}><$view field="title"/></$link></li>
</$list>
</ul>

Hope that helps.

Cheers,

Ton


On Thursday, February 13, 2014 5:35:47 PM UTC+1, [email protected] wrote:
>
> Hi all, this is my first post.
>
> First of all I'd like to say that I've been looking for the most secure, 
> customizable and cross-platform note taking tool for a long time. I've used 
> Evernote, OneNote, Basket Note Pads, but this is by far the most amazing 
> and cool thing I've ever been able to get my hands on. It satisfies all my 
> criteria (which no other software to date has been able to do), so a big 
> thanks to Jeremy and all of you in this community!
>
> Now to my question.
>
> I'm trying to make something like the drop-down text menu that Ton Gerner 
> has here: http://tw5topleft.tiddlyspot.com/
>
> When you click the top-left arrow, you get a menu that pops up, and within 
> that there's another menu that looks like this:
>
> Documentation >>
>
> Menus >>
>
> Buttons>>
>
> etc.
>
> Each of these display a list of tiddler links that you can click on, and 
> if you click them again these links disappear. I want to learn how to 
> implement this into my main article tiddler..
> I'd like to write something similar like
>
> Linux>>
>         BASH
>         Perl
>
> Could someone please show me how to do it? I write Perl but unfortunately 
> am not that skilled with Javascript and all the markup we use here.
>
> Best, 
>
> Scott
>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to