I think that the best way to do that is to make a button that looks like a checkbox like this:
<$button class='tc-btn-invisible tooltip'> <$reveal type='match' state='$:/plugins/tobibeer/preview/defaults/exclude' text='[all[tiddlers]]'> <input type='checkbox'/><span class="tooltiptext"> Preview Deaktivieren? </span> <$action-setfield $tiddler='$:/plugins/tobibeer/preview/defaults/exclude' text='[is[system]] [all[shadows]] [!has[text]]'/> </$reveal> <$reveal type='nomatch' state='$:/plugins/tobibeer/preview/defaults/exclude' text='[all[tiddlers]]'> <input type='checkbox' checked/><span class="tooltiptext"> Preview Deaktivieren?</span> <$action-setfield $tiddler='$:/plugins/tobibeer/preview/defaults/exclude' text='[all[tiddlers]]'/> </$reveal> </$button> The two reveal widgets change what the button does depending on the state. This is how you make something like a checkbox that can do more than just the normal checkbox actions. You can put a div inside it and style the div to make change more about it also. -- 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/e313d8c6-6a80-481d-81bf-3ca878e74865%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

