Hi @TonyM,
I would do it with css, because like that you can address tiddlers in the
storyriver with
.tc-story-river .tc-tiddler-frame { ... }
and in the sidebar .tc-sidebar-scrollable (maybe .tc-sidebar-lists if
tiddlers are in the sidebar tabs) .tc-tiddler-frame { ... }
and for hiding the menus in the storyriver
.tc-story-river .tc-tiddler-frame .menuclass {
display: none;
}
.tc-sidebar-scrollable .tc-tiddler-frame .menuclass {
display: block;
}
Am Dienstag, 16. Januar 2018 07:24:32 UTC+1 schrieb TonyM:
>
> Foilks,
>
> I am close to completing a menu tool for TW5 and I am trying to find a way
> to tell if I am viewing the tiddler in the SideBar or not.
>
> Does anyone know the logic, for a filter that can somehow determine where
> it is displayed?
>
> For example in the side bar I want it to list the menus
> In an open tiddler I also want to offer checkboxes to change settings on
> the menus.
>
> Ideally with native tiddlywiki since I am building a plugin and want to
> avoid dependencies.
>
> Thanks in Advance
> Tony
>
--
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/6f9bdf68-e139-4a64-8e15-3ee110abad3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.