Hello Jed,

thanks for your suggestion :-)
I made it now with this:
<$button class='tc-btn-invisible tooltip'>
<$reveal type='match' state='$:/plugins/tobibeer/preview/defaults/exclude' 
text='[all[tiddlers]]'>
@@background:orange;<input type='checkbox' checked/><span class=
"tooltiptext">No Preview?</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]]'>
@@background:lightgreen;<input type='checkbox'/><span class="tooltiptext">No 
Preview?</span>@@
<$action-setfield $tiddler='$:/plugins/tobibeer/preview/defaults/exclude' 
text='[all[tiddlers]]'/>
</$reveal>
</$button>

That's better now than before, because it shows more visible the state.
I changed the states, because checking should mean disabling.
I couldn't manage to change the color with div style. So I tried it with 
@@background@@.
It works, but doesn't look really nice...
And also the "No Preview?" is still only shown by mouse-over the tooltip. I 
think, it's not possible to show "No Preview?" inside the box.
Because of that I still would like more to have a button which shows the 
text "No Preview?".

Is it possible?
Surya

-- 
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/062edad7-5789-4999-b955-c874435cc802%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to