For some reason, it doesn't work with tiddler titles like the following :

   - Chp. 1 - Quel est le sens du mot "vie"?
   - Millikan, RG (1989): "In Defense of Proper Functions"
   

Le jeudi 30 janvier 2014 17:44:23 UTC+1, Alberto Molina a écrit :
>
> Stephan Hradek has created several magick tricks 
> here.<http://tw5magick.tiddlyspot.com/>
>
> Do you like "slider"? Do you like "full (enhanced) transclusion"? Have 
> them work together! (The following is just a tweak & mix of both)
>
> Create a template tiddler called, for instance, "sliderfull", containing 
> this:
>
> \define slider(label)
> <h1><span title="Slide section"><$button popup="$:/state/$label$" 
> class="btn-invisible 
> tw-slider"><$reveal type="match" text="" default="" state=
> "$:/state/$label$">&#x229E;</$reveal><$reveal type="nomatch" text="" 
> default="" 
> state="$:/state/$label$">&#x229F;</$reveal>&nbsp;{{!!title}}</$button>&nbsp;</span><span
>  
> title="Edit section"><$button message="tw-edit-tiddler" 
> class="btn-invisible">{{$:/core/images/edit-button}}</$button></span></h1>
> <$reveal type="nomatch" text="" default="" state="$:/state/$label$"animate
> ="yes">
> <$transclude/>
> </$reveal>
> \end
>
> <$macrocall $name="slider" label={{!!title}}/>
>
>
> Use the template tiddler by transcluding it:
>
> {{GettingStarted||sliderfull}}
>
> Then, if you click on the title, it slides and shows/hides the content. 
> And if you click the edit button, it opens the transcluded tiddler in edit 
> view.
>
> The trick could be improved by reducing the size of the slider button and 
> edit button, but I don't know how.
>
>
> Alberto
>
>
>
>

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

Reply via email to