Open/Unfold tiddler within another tiddler

閲覧: 101 回
最初の未読メッセージにスキップ

Michael Wu

未読、
2018/11/22 22:13:482018/11/22
To: TiddlyWiki
Hi,

I'm new to TiddlyWiki. Was wondering if it is possible to open/unfold a tiddler within another tiddler? 

I'm trying to split the content of a major tiddler into multiple pages/tiddlers as sub-topics. However, for ease of navigating, I'd like to open up the sub-topic links in the main page without moving off to a different tab. 

Any advice would be greatly appreciated. 

Cheers

Ton Gerner

未読、
2018/11/23 0:39:112018/11/23
To: TiddlyWiki
Hi Michael,

You can do that with the reveal widget, see https://tiddlywiki.com/#RevealWidget : 'Accordion or Slider'.

For ease of use you can create a slider macro. Create a tiddler e.g. $:/_slider-macro (tag it with $:/tags/Macro) which contains:

\define slider(label,tiddler)
<$button popup="$:/state/$tiddler$" class="tc-btn-invisible"><$text text="$label$ »"/></$button>
<$reveal type="nomatch" text="" default="" state="$:/state/$tiddler$" animate="yes">

{{$tiddler$}}

</$reveal>
\end

You can then use the macro as:

<<slider "label" "tiddler">>

Hope that helps.

Cheers,

Ton

bimlas

未読、
2018/11/23 2:05:562018/11/23
To: TiddlyWiki
This may be useful to you: https://designwritestudio.updog.co/
メッセージは削除されました

Michael Wu

未読、
2018/11/23 16:59:452018/11/23
To: TiddlyWiki
Thank you Ton and Bimlas. Very helpful.
全員に返信
投稿者に返信
転送
新着メール 0 件