> Besides avoiding wikification you added "qualifier" to the slider
> definition.
>
Apologies - I started updating the macro to use the qualifier mechanism,
but decided that it would obscure the point I was trying to demonstrate.
And then forgot to remove the macro parameter I had added.
>
> What does this mean?
> How to use the new slider?
>
> If I try:
>
> <<slider "Getting started" "{{GettingStarted}}">>
>
> I get a working slider (in FF & Chrome) but the label of the slider is
> "undefined".
>
As Stephan says, you'll need to wait for 5.0.7 before it will work,
Best wishes
Jeremy
>
> Cheers,
>
> Ton
>
>
>
> On Sunday, January 19, 2014 10:46:40 PM UTC+1, Jeremy Ruston wrote:
>
>> The different results in Chrome and Firefox are because they behave
>> differently when a link is inside a button element. For 5.0.7, I've
>> adjusted the text widget so that you can now pass the text to be rendered
>> via the "text" attribute. That lets the slider macro be rewritten like
>> this, avoiding the wikification of the slider label:
>>
>> \define slider(label,text,qualifier)
>> <$button popup="$:/state/$label$" class="btn-invisible tw-slider"><$text
>> text="$label$"/></$button>
>> <$reveal type="nomatch" text="" default="" state="$:/state/$label$"
>> animate="yes">
>> $text$
>> </$reveal>
>> \end
>>
>> The commit is here:
>>
>> https://github.com/Jermolene/TiddlyWiki5/commit/
>> 95cb99adb96381e03715b7d16224b664a7a07b34
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>
>> On Sat, Jan 18, 2014 at 7:02 AM, Stephan Hradek <[email protected]>wrote:
>>
>>> check "slider macro fix". It's not global though. You have to copy over
>>> the slider macro to every tiddler you need it in. Or you need to convert it
>>> into a plugin. Check "Javascript Macros in WikiText" for that. Both on
>>> tw5magick.tiddlyspot.com
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>>
>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>
--
Jeremy Ruston
mailto:[email protected]
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.