On Apr 21, 3:20 am, Tobias Beer <[email protected]> wrote:
> Please modify the slider macro such that (in this order of
> preference)...
>
> 1) the toggle button can be assigned a custom css class
> 2) one can use two (text-)states, an open state and a closed state
> 3) the content can be rendered into an existing placeholder not
> necessarily following the toggle button
>
> usecase1: as the slider contents are likely to stretch to a width of
> 100%, a toggle button floating right is likely to jump on a newline
> once you click on it, which in this case is not the desired behaviour.
>
> usecase2: a template might contain placeholders into which content
> might by rendered by clicking on a toggle button, e.g. in the MainMenu
>
> Chances are, that some non-core macro/plugin provides this already. If
> you know of anything of that kind, please post it here.

You can use
   http://www.TiddlyTools.com/#NestedSlidersPlugin
plus
   http://www.TiddlyTools.com/#DOMTweaksPlugin
like this:

------------------
+++{{classname{[label][altlabel]}}}#slidername:
   slider content
===
other content
<<DOM move slidername>> /% moves slider panel here %/
more content
------------------

When closed, it is rendered as:
   label
   other content
   more content

When opened, it is rendered as:
   altlabel
   other content
   slider content
   more content

enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev?hl=en.

Reply via email to