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/5d84f728-8b0b-426c-af32-b7f43121c7e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to