Marcus,

Quote: To make a macro available to all tiddlers, define it in a tiddler 
that has the tag $:/tags/Macro 
<https://tiddlywiki.com/#%24%3A%2Ftags%2FMacro>

More here:  https://tiddlywiki.com/#Macro%20Definitions%20in%20WikiText

On Wednesday, December 27, 2017 at 1:42:47 PM UTC-6, Marcus wrote:
>
> Hi, thanks a lot for your answer.
> I modified it with <$select> and it worked well with all tiddlers, as long 
> as the tiddler with the code is open.
> Here my example for changing the tiddler-frame-color, font and fontsize:
>
> Color change:
> <$select tiddler='$:/temp/tag2'>
> <option value='lightblue'>lightblue</option>
> <option value='rgb(137, 243, 183)'>lightgreen</option>
> <option value='lightgrey'>lightgrey</option>
> <option value='white'>white</option>
> </$select>
>
> <style>
> .background {
> background-color:{{$:/temp/tag2}};
> </style>
>
>
> Font change:
> <$select tiddler='$:/temp/tagfont'>
> <option value='Arial'>Standard</option>
> <option value='Times New Roman'>Times</option>
> </$select>
>
> <style>
>  body {font-family: {{$:/temp/tagfont}}} 
> </style>
>
> Fontsize change:
> <$select tiddler='$:/temp/tagfontsize'>
> <option value='12px'>sehr klein</option>
> <option value='16px'>klein</option>
> <option value='20px'>mittel</option>
> <option value='25px'>groß</option>
> </$select>
>
> <style>
> p { font-size: {{$:/temp/tagfontsize}} }
> </style>
>
>
>
> Best regards
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91962e2b-fd0d-4535-a107-a71a53509dca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to