> > arrows following the slider button text, so that they could toggle
> > between ">" when closed and "<" when closed.  When you update to using
> > the latest TiddlyTools distribution (v2.4.9), you can use the
> > 'alternative label' syntax to specify the text to toggle, like this:
>
> > +++[click to open >][click to close <]
> >    content goes here
> > ===
>
> Eric, but if my 'slider' is a script and not a slider as such, where
> and how do I put this?

I assume you are talking about sliders generated by <<siteMap>>...

If so, then the formats for those sliders are defined within the
SiteMapMacro plugin code.

You can re-define these formats by creating a separate
[[SiteMapMacroTweak]] tiddler, tagged with 'systemConfig', containing:

config.macros.siteMap.sliders.formatString="[[%1]]+++[&#x25BA;]
[&#x25C4;]\n%2===\n\n";
config.macros.siteMap.openSliders.formatString="[[%1]]++++[&#x25BA;]
[&#x25C4;]\n%2===\n\n";
config.macros.siteMap.popups.formatString="[[%1]]+++^[&#x25BA;]
[&#x25C4;]\n%2===\n\n";
config.macros.siteMap.openPopups.formatString="[[%1]]++++^[&#x25BA;]
[&#x25C4;]\n%2===\n\n";

The only difference between the above and the existing format defned
by the plugin is the addition of:
   "[&#x25BA;][&#x25C4;]"

Basically, what these lines do is to use the right (&#x25BA;) and left
(&#x25C4;) arrow symbols as the slider label and alt label.  When the
slider is closed, the right arrow (25BA) is shown.  When the slider is
open, the left arrow (25BA) is shown.  Of course, you could use any
label/alt label pair you like to suit your purposes...

By using a separate 'tweak' tiddler to overlay to SiteMapMacro, you
will then be able to distribute an *unmodified* version of
NestedSlidersPlugin, while still achieving the same end-user
appearances and behavior.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios


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

Reply via email to