Hi all, You can toggle a tag with a checkbox, but is it possible to toggle a tag with a button?
Why? See my usecase: My guide "Top menu & toolbars" [1] shows a button (triangle top right) that toggles between the Snow White theme and the Hidden sidebar theme (that is also the limiting precondition: switching between these 2 themes). The Hidden sidebar theme hides the sidebar and increases the tiddler width. When I started with TW5 this seemed to be the simplest (for me achievable) solution for hiding the sidebar. Triggered by the TaskManagementExample in TW5, I experimented with a style tiddler where the tag $:/tags/stylesheet could be toggled by a checkbox. I think a very easy solution. As an example see [2] where the checkbox is positioned in the SiteSubtitle. Here only the tiddler width is increased and the sidebar shifted with the same amount to the right (if I hide the sidebar, I can't get it back ;) ). In this way - say a checkbox in a top menu - you could toggle the sidebar independent of the theme used (assuming more or less "standard" themes). It works - no complaints about that - but I do like a button in the toolbar of the top menu as in [1]. Is there a way to accomplish that: toggle a tag with a button? Cheers, Ton [1] http://tw5toolbar.tiddlyspot.com/ [2] http://tongerner.tiddlyspot.com/ -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.