Opening links in other wikis

93 views
Skip to first unread message

Jon

unread,
Jun 21, 2020, 11:57:42 AM6/21/20
to TiddlyWiki
Hi,

I have a couple of inter-related wikis but I noticed that clicking multiple links to the second wiki opens up the wiki multiple times.

Can this be avoided once the 2nd wiki is open?

Regards
Jon

TW Tones

unread,
Jun 22, 2020, 6:28:06 AM6/22/20
to TiddlyWiki
Jon

I posted an answer on a recent thread. Use a need link with the target set. Each icon clicked with the same target open in the same window.

Regards
Tony

Jon

unread,
Jun 22, 2020, 2:58:39 PM6/22/20
to tiddl...@googlegroups.com
Hi Tony,

Was it this?

In which case I can now see that:

This is the permalink: https://tiddlywiki.com/#HelloThere which opens tiddlywiki.com each time it's clicked

But using this method to specify the page will open the wiki once and will then navigate to the corresonding page.

<a href="https://tiddlywiki.com/#Hello There" target="tiddlywiki" > Hello There</a>
<a href="https://tiddlywiki.com/#Messages" target="tiddlywiki" > Messages</a>

Thanks
Jon

TW Tones

unread,
Jun 22, 2020, 7:41:34 PM6/22/20
to TiddlyWiki
Jon,

Yes, that was my reference, sorry the last was so short a response. 

But using this method to specify the page will open the wiki once and will then navigate to the corresponding page.

<a href="https://tiddlywiki.com/#Hello There" target="tiddlywiki" > Hello There</a>
<a href="https://tiddlywiki.com/#Messages" target="tiddlywiki" > Messages</a>


As you asked,  clicking multiple links to the second wiki opens up the wiki multiple times (in the same tab). The detailed fact is each time it opens the whole wiki file and navigates to the tiddler in the URL eg; #Hello There" not so much a page.

Do you have what you need now?

Be aware if you edit the second wiki (even if you can't save it) a subsequent link to the same tab may override or loose your changes.

The target attribute is a html thing see here https://www.w3schools.com/tags/att_a_target.asp
We are not using one of the standard but a "framename" of "tiddlywiki" you can use what every you want, even set it with the field or variable.

Regards
Tony

Jon

unread,
Jun 23, 2020, 1:35:28 AM6/23/20
to TiddlyWiki
Hi Tony,

Thanks for the explanation and yes, got what I need.

Cheers
Jon
Reply all
Reply to author
Forward
0 new messages