Hi Tony,

I don't think the navigator-widget actually opens anything. If I'm wrong, I 
would sure love to have the full docs of the NW, since the docs at 
TIddlyWiki.com are really sparse.

Here's what it does -- I think. It catches any tiddler openings inside the 
widget and then adds them to the the "story" list attribute. That's it. 
It's then up to *you* to determine what happens inside of the navigator 
widget.

So if you create a tiddler $:/StoryList2 and populate it's list field with 
"[[HelloThere]]" at TiddlyWiki.com, then you can use this NW inside a 
tiddler to create it's own "river" :

<$navigator openLinkFromInsideRiver="top" story="$:/StoryList2">
<$list filter="[enlist{$:/StoryList2!!list}]" 
template="$:/core/ui/ViewTemplate" editTemplate="$:/core/ui/EditTemplate"/> 
</$navigator>

Whenever you click on a link to a tiddler inside the river, it gets added 
to "$:/StoryList2" which is then used by the list to create the contents of 
the river. But it's up to you to create the tiddlers and provide the 
templates, etc.

It seems a lot like the link catcher widget to me, except that the link 
catcher just holds the last link (single) clicked inside of the LC widget.

HTH
-- Mark

On Thursday, May 3, 2018 at 4:50:49 AM UTC-7, TonyM wrote:
>
> Mat,
>
> Thanks for your help so far.
>
> In this case the navigator widget should open the <<currentTiddler>> in 
> the story river (and open the tiddler). Usually this is the default however 
> I trying to open tiddlers from outside the story.
>
> Unfortunately this seems over my head as well. Never the less thanks for 
> the other solution.
>
> Regards
> Tony
>
> On Thursday, May 3, 2018 at 9:00:17 PM UTC+10, Mat wrote:
>>
>> Well, I don't know what the Navigator widget is supposed to achieve there 
>> to begin with? (I don't quite understand the docs 
>> <https://tiddlywiki.com/#NavigatorWidget>). 
>>
>> <$navigator story="$:/StoryList"><<currentTiddler>></$navigator>
>>
>> For example, the output does not seem to be a link.
>>
>> Maybe using the non-link styling and putting the div inside the nav 
>> helps? Like so:
>>
>> <style>
>> /*when content is NOT a link*/
>> .foo {visibility:hidden; position:relative;}
>> .foo:before {visibility:visible; content:"xx"; }
>> </style>
>>
>> <$navigator story="$:/StoryList"><div class="foo"><<currentTiddler>>
>> </div></$navigator>
>>
>> <:-)
>>
>

-- 
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/99788ed7-9984-40f2-8370-e7a3d03676bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to