The purpose of the navigator widget is to respond to messages like tm-navigate, tm-close-tiddler etc. by modifying the attached story river. The core page template includes an instance of the navigator widget pointing at the usual $:/StoryList and $:/HistoryList tiddlers.
The only reason to use the navigator widget is if you wish to target a story or history list other than the defaults, such as when creating what the docs call a substory. Best wishes Jeremy. > On 3 May 2018, at 10:33, TonyM <anthony.mus...@gmail.com> wrote: > > Mat, > > I am not so sure how to make the Navigator widget works in the above example > > <style> > /*when content is a link*/ > .foo a {visibility:hidden; position:relative;} > .foo a:before {visibility:visible; content:"xx"; } > </style> > > <div class="foo"><$navigator > story="$:/StoryList"><<currentTiddler>></$navigator></div> > > > Regard > Tony > > > On Thursday, May 3, 2018 at 6:20:00 PM UTC+10, Mat wrote: > I was a bit too quick. Here are better solutions; > > > <div class="foo"><$navigator > story="$:/StoryList"><<currentTiddler>></$navigator></div> > > <style> > /*when content is a link*/ > .foo a {visibility:hidden; position:relative;} > .foo a:before {visibility:visible; content:"xx"; } > > /*when content is not a link*/ > .foo {visibility:hidden; position:relative;} > .foo:before {visibility:visible; content:"xx"; } > </style> > > ------------------- > > \define tiddlername(tid) [[static|$tid$]] > > <<tiddlername oooo>> > > > > <:-) > > -- > 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 > <mailto:tiddlywiki+unsubscr...@googlegroups.com>. > To post to this group, send email to tiddlywiki@googlegroups.com > <mailto:tiddlywiki@googlegroups.com>. > Visit this group at https://groups.google.com/group/tiddlywiki > <https://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/f1742a6a-46cd-43d1-8641-cca67d2cbeb9%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/f1742a6a-46cd-43d1-8641-cca67d2cbeb9%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9B199570-1C18-4026-AF4A-C74131690319%40gmail.com. For more options, visit https://groups.google.com/d/optout.