On Monday, May 18, 2015 at 10:55:31 AM UTC-7, Chong wrote:
>
> Hi I just have a quick question about sliders. 
>
> I want to have something like a story that starts as a plot summary, just 
> a list of the major plot points. Then if the reader wants more details on a 
> particular plot point, they can "zoom in" on that with a slider. The zoomed 
> in section is another list of plot points, and they can zoom in even 
> further on the details that they're interested in. 
>
> The problem is, I want to have maths equations in this story (it's a maths 
> story), and at the moment the only way I can get maths to render inside a 
> slider is if I transclude it from another tiddler. (I'm using the Texzilla 
> plugin for maths.) So I have to create a separate tiddler for every single 
> possible place there is to zoom. Is there a way to do this while keeping 
> all the content inside one tiddler? 
>

Are you using TW5 or TWClassic?

TW5 doesn't have "sliders". Instead it uses the <$reveal> widget, in 
combination with a "state tiddler" to control what content is shown, and 
when.

The TW5 documentation for RevealWidget shows how to create a 'simple 
slider' that provides a single button to toggle the content display. 
 However, the <$reveal> widget displays *any* content it encloses, so you 
aren't limited to just using separate tiddlers.

In TWC, the <<slider>> macro does a similar job, but *does* require the 
content to be in separate tiddlers (this is why I asked which version of 
TiddlyWiki you are using... your question sounds like it's about TWClassic)

In TWC, if you want to define both the slider buttons *and* the content in 
the same tiddler, install this plugin from my TiddlyTools site:
   http://www.tiddlytools.com/#NestedSlidersPlugin
   http://www.tiddlytools.com/#NestedSlidersPluginInfo

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/56b1f7f8-2c9f-4fc1-af83-3c68adba36b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to