[tw] Re: Collapsing sections?

2009-06-16 Thread Anthony Muscio
I use the Nested Slidders plugin with the comment plugin within tiddlers
http://www.TiddlyTools.com/#CommentPluginhttp://www.tiddlytools.com/#CommentPlugin
 http://www.tiddlytools.com/#CommentPlugin
http://www.TiddlyTools.com/#NestedSlidersPluginhttp://www.tiddlytools.com/#NestedSlidersPlugin

Use the comment plugin, see it's example to see what you can do;
+++^40em^[add a note]...

moveablePaneladd a note

comment here  +++![%when% (%who%):
%subject%]...\n%message%\n===\n===
 | tiddler ExpandSlidersScript with: here view all close all

You can also change the +++ to  to cause the section to open by default,
or cookies in (cookiename)
to have the state remembered.

I have used the above to make all kinds of insertable sections
by simply adding tiddler UpdateTask in my tiddler content template.

where
- UpdateTask tiddler --
+++^40em^*[Comment]...
moveablePanelEnter comments in tiddler

/% Tiddler referenced in tasks that allows common updates to the content of
the tiddler %/
Instructions: Enter Comment or Cancel X
Information: Enters comments into Tiddler
comment here  ''%subject%'' (%when%)\n===
+++^40em^*[Comments with note]...
moveablePanelEnter comments in tiddler

Instructions: Enter Comment or Cancel X
Information: Enters comments into Tiddler
comment here  +++![%subject%]...\n(%when%)\n%message%\n===\n===
+++^40em^*[Check Item]...
/% Paste Item with check box %/
moveablePanelCheckListItem

Instructions: Enter Title or Cancel X
Information: Paste Text into a checklist item
comment here  [_] %subject%\n===
+++^[Custom]
tiddler CustomTiddler
[[Edit CustomTiddler|CustomTiddler]]
===+++^40em^*[ins HTML]...
/% Paste HTML into Tiddler %/
moveablePanelHTML into Tiddler

Instructions: Enter Title or Cancel X
Information: Paste HTML into Tiddler (will frame with open close HTML
comment here 
+++![%subject%]...\n(%when%)\nhtml\n%message%\n/html\n===\n===
+++^40em^*[tiddlername]...
moveablePanelPaste Tiddler Title into Tiddler

Instructions: Enter Enter Tiddler name or Cancel X
Information: Will use [ to wikify ]
comment here  \n[[%subject%]]\n===
+++^[Custom]
tiddler CustomTiddler
[[Edit CustomTiddler|CustomTiddler]]
===
+++^40em^*[URL]...
moveablePanelPaste web Address into Tiddler

Instructions: Enter URL or Cancel X
Information: please include http://
comment here  +++![%subject%]...\n(%when%)\n[[Open
%subject%|%subject%]]\n===\n===
+++^[Custom]
tiddler CustomTiddler
[[Edit CustomTiddler|CustomTiddler]]
===
+++^40em^*[Append]...
moveablePanelAppend to tiddler

Notes: tiddler AppendToTiddler with:
===
+++^40em^*[Append Log]...
moveablePanelAppend with time stamp

Notes: Log (with timestamp): tiddler AppendToTiddler with:-0MM-0DD
hh:0MM
===

/%
+++^40em^*[OpenSlider]...
moveablePanelStart slider

Instructions: Enter slider title and initial text
Information: Must be closed
comment here  +++![%subject%]...\n(%when%)\n%message%\n===
===
+++^40em^[CloseSlider]...
moveablePanelClose slider

Press OK to close slider
comment here   ===\n
===
%/

You may also need
MoveablePanelPlugin javascript:;
PanelManagerPlugin javascript:;
AppendToTiddler (script)

I will now look into creating inserts for FoldHeadingsPlugin which will
insert different heading types.

I will be very happy once I learn how to make comment plugin address hidden
strings other than /%comment%/ so I can divide a document into say

/%introduction%/
/%Body%/
/%Conclusion%/
/%comment%/

Have fun!

TonyM

If you have not found an easy way to do it with TiddlyWiki, you have missed
something.
www.tiddlywiki.com



On Sat, Jun 13, 2009 at 18:48, pat toche annopo...@gmail.com wrote:


  http://www.TiddlyTools.com/#FoldHeadingsPlugin

 is another wonderful plugin from ELS.

 If you want to make it more language-neutral, you can customize the
 labels. In a tiddler named FoldHeadingsPluginCustom and tagged
 systemConfig, simply insert (for instance) the following:

 config.macros.foldHeadings.showlabel = '[+]';
 config.macros.foldHeadings.hidelabel = '[-]';
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: Collapsing sections?

2009-06-12 Thread Eric Shulman

 For instance, the plugin might put a clickable link in every h1-
 h6 header that, when clicked, either hides all the content under that
 header, or if it's already hidden, shows it again.

 Does anyone have a working solution that would do this?

http://www.TiddlyTools.com/#FoldHeadingsPlugin

enjoy,
-e


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---