Hello all,

I would like to have a button on my wiki with which I can enable/disable 
the Preview-Tiddler-Links from 
http://tobibeer.github.io/tw5-plugins/#preview.
So that, when deactivated, on the whole wiki there is no more preview of 
links. And, when activated, there is my normal setting of previewing links.

I have a solution with a checkbox:
<$checkbox tiddler="$:/config/Plugins/Disabled/$:/plugins/tobibeer/preview" 
field="text" checked="yes" unchecked="no" default="no"> Disable 
Preview?</$checkbox>

That works. But:

*1.)* I have to save and reload the wiki to have the effect working.
So it is useless for the visitors of my public wiki.
How can I enable/disable it with only 1 click without having to save & 
reload the wiki?

*2.)* I would like to have a button with an image in it for that.
This should be only ONE button which reflects the two states.
When the plugin is enabled, the button turns green and shows the image.
When the plugin is disabled, the button shows the image but with a red 
cross above it (I think, I would make another image for that state).


How can I make that?
Any ideas for that???

Thanks, 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/7922b995-e7bd-4b01-b70c-8d4cc3f7aaae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to