> I see that it's possible to have a collapsible index of tiddlers etc.
> much like the options, which seems to be collapsible by default.
> However, I can't work out how to make the index collapsible

First, open the tiddler named [[SideBarTabs]] (listed in the
More>Shadow tab).

It starts out like this:
-------
<<tabs txtMainTab "Timeline" "Timeline" TabTimeline "All" "All
tiddlers" TabAll "Tags" "All tags" TabTags "More" "More lists"
TabMore>>
-------

First, wrap the default <<tabs>> macro in a "hidden tiddler section",
like this:

/%
!tabs
<<tabs txtMainTab "Timeline" "Timeline" TabTimeline "All" "All
tiddlers" TabAll "Tags" "All tags" TabTags "More" "More lists"
TabMore>>
!end
%/

The /% and %/ 'comment' markers prevent the enclosed content from
being directly displayed in the tiddler, and the !tabs and !end syntax
defines the section itself.  Then, to display this section as
'collapsible' content, embed a <<slider>> macro immediately following
the closing %/ of the section definition:

   <<slider
      chkShowIndex
      SideBarTabs##tabs
      "index >"
      "show lists of tiddlers">>

The first param is a 'cookiename', used to track if the slider is open
or closed.  The second param is the 'tiddlername' (which, for our
purposes, also includes the desired '##tabs' sectionname).  The third
param is the text 'label' that will be displayed, and the last param
is the tooltip (shown on mouseover).

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