> After further investigation, I think my troubles are due to the fact
> that I was using ExpandSliders in transclusion. I can work around
> this, but if you do want to see examples of the way I had been using
> ExpandSliders, you can see them at:
> http://cmtest.tiddlyspot.com

in the above document, you wrote:
-------------
{{red{
{{right{<<tiddler ToggleSliders##show with: here "open all" "close
all">>}}}
-------------

The problem is with your use of the "here" parameter when the
ToggleSliders is surrounded by CSS class wrappers...

Please take note of the ToggleSliders documentation, which says:
-------------
<<tiddler ToggleSliders with: elementID expandlabel collapselabel>>
* elementID is one of:
   * "" (empty quotes) = the current tiddler
   * here = the current container
   * ID = specific DOM element ID (e.g., "mainMenu")
-------------

However, in your specific usage, the sliders you want to affect are
not within the same container as ToggleSliders (in this case, the
"{{right{...}}}" wrapper), so it cannot find them to toggle them.

If you want the toggle to apply to sliders that are *not* in the same
container, then you can use "" (empty quotes) to affect the entire
tiddler, or specify an ID to affect only a particular DOM element.

If the desired container does not have an ID (typical for most
rendered 'content' elements in TW), you can use
   http://www.TiddlyTools.com/#DOMTweaksPlugin
to assign an ID to that container, like this:
   {{someClass{
   <<DOM setID foobar>>
   +++[sliderlabel]
      slidercontent
   ===
   }}}
then, you can use that ID in ToggleSliders:
  <<tiddler ToggleSliders with: foobar "open" "close">>

enjoy,
-e

--~--~---------~--~----~------------~-------~--~----~
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