FrD ha scritto:
Hello,
I'd like to use en "extended" version of the slider macro, allowing to
pass arguments like $1, $2, ... like in the tiddler macro.
To be precise, I'd like to be able to write something like this :
<<slider chkslider [[SliderTiddler##content with:"$1"]] "test"
"test">>
The section !content inside SliderTiddler contains a call to a tiddler
macro :
<<tiddler Tiddler with:"$1">>
I know it's a bit complicated, but it seems to me that maybe a hack is
possible on the core function 'config.macros.slider.handler' using a
piece of code of 'config.macros.tiddler.transclude' to deal with $1,
$2, ...
I also made a hack that allows to use slider with parameters:
http://tiziano.tiddlyspot.com/#MySliderHack
My approach was to copy bits of code from the tidder macro in order to
have the slider macro a similar behaviour.
The syntax is:
<<slider cookieID title label hint [with:param1 param2...]>>
regards
--
tiziano de togni
______________________________________
http://digilander.libero.it/tizzziano/
http://tiziano.tiddlyspot.com
--
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.