> I have a tiddler that contains a slider, using the format of Eric's
> Nested Sliders plugin. I would like to create a toolbar macro that
> shows the slider itself (not the tiddler that contains it). Thanks for
> any clues!
>
> --Jon
First, give the slider panel an ID, like this:
+++[label]#slider_id:...
slider contents
goes here
===
Then, using inline javascript (http://www.TiddlyTools.com/
#InlineJavascriptPlugin), you can embed the following 'onclick'
command link anywhere in your tiddler content:
<script label="toggle slider panel">
var e=document.getElementById("slider_id");
if (e && e.button) window.onClickNestedSlider({target:e.button});
</script>
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
-~----------~----~----~----~------~----~------~--~---