Consider this reveal widget: \define sb(c)
<$reveal type="nomatch" text="" default="" state="$:/state/myslider$c$" text="show"> <$button set="$:/state/myslider$c$" setTo="show">.</$button> </$reveal> <$reveal type="match" state="$:/state/myslider$c$" default="" text="show"> <$button set="$:/state/myslider$c$" setTo="hide">-</$button> $c$ </$reveal> \end The state of the tiddler is kept in "$:/state/myslider$c$" and if you open other sliders with different content in the same tiddler it will stay open, unaffected by other <<sb "something else">> instances That's the behaviour I'm looking for, but if you close that tiddler and reopen it, they will be in the same state that you left them. What I'd like to happen is for them to stay open (unless clicked closed) while the tiddler is showing, but reset to closed the next time you open that tiddler. * Is there a transient variable or tiddler that only exists while the tiddler is open (like a /tmp/file in linux that disappears on reboot) but then goes away when closed that I can assign the reveal widget state to so I can get this behaviour? * Otherwise is there a way to trigger the state to clear once the tiddler is closed? Thanks, Dave -- 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/7c527d95-573c-4d70-9f76-ea8df9de4502%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

