On Friday, February 6, 2015 at 11:39:02 AM UTC-8, Paul Lee wrote: > > I'm an undergraduate senior studying interactive text design, and my > professor asked me to forward this note that I posted to the class group > here. > > I feel sure that there must be a known way to change the text of a link > passed to the ToggleText tiddler when it is clicked and the hidden text is > revealed. I don't claim to know JavaScript to any significant degree, and > I'm not familiar enough with the TiddlyWiki community to locate any > relevant discussions. So, I apologize if this post is redundant. >
In TWC, the native <<slider>> macro can be used to display "hidden text", like this: <<slider chkStateFlag TiddlerTitle "label" "tooltip">> Where TiddlerTitle refers to a separate tiddler that contains the text content to be shown. For more flexibility, you can install this plugin: http://www.TiddlyTools.com/#NestedSlidersPlugin which adds extra syntax for defining sliders inline, like this: +++[label] ... content goes here ... === This has the advantage that there's no need for a separate tiddler, and you can include ANY wiki syntax, including HTML, double-quotes, etc. You can also specify an alternative label to be shown when the slider is visible, like this: +++[closedlabel|openlabel] ... content here === enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios "Inside TiddlyWiki: The Missing Manual" https://www.indiegogo.com/projects/inside-tiddlywiki-the-missing-manual/x/8816263 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. For more options, visit https://groups.google.com/d/optout.

