On Tuesday, September 22, 2015 at 7:39:20 PM UTC-7, James wrote:
>
> Hi all,
> Is there any ways we can collapse/expand the content in the section by 
> clicking on the heading?
>

Use a <$button> widget with class="tc-btn-invisible" to create the heading. 
 Surround the section content with a corresponding <$reveal> widget.

<$button class="tc-btn-invisible" popup=<<qualify "$:/temp/popup">>>

!heading text
</$button>
<$reveal type="nomatch" state=<<qualify "$:/temp/popup">> text="">

section content goes here
</$reveal>

enjoy,
-e
Eric Shulman
ELS Design Studios
TiddlyTools - "Small Tools for Big Ideas!"
InsideTiddlyWiki: The Missing Manuals

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/68053b5c-e59b-414c-bf33-e0b2ed989833%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to