Another approach would be to create a stylesheet tiddler with all the
to-be-invidible classes defined, i.e
tags: $:/tags/Stylesheet
type: text/css
text:
.class1, .class2, .class3, . {
display:none;
}
And then use a button to toggle the "$:/tags/Stylesheet"-tag on this
stylesheet:
<$r
This is really clever. Thanks a lot!
Am Sonntag, 17. Mai 2020 10:07:36 UTC+2 schrieb BurningTreeC:
>
> Hi Jakob,
>
> you could create a toggle button like this:
>
> <$button><$list filter="[[$:/state/invisible]is[missing]]
> [{$:/state/invisible}match[show]] " emptyMessage="""
> <$action-setfiel
Hi Jakob,
you could create a toggle button like this:
<$button><$list filter="[[$:/state/invisible]is[missing]]
[{$:/state/invisible}match[show]] " emptyMessage="""
<$action-setfield $tiddler="$:/state/invisible" text="show"/>SHOW
""">
<$action-setfield $tiddler="$:/state/invisible" text="hide"/
3 matches
Mail list logo