open link in a new window/tab

747 views
Skip to first unread message

RA

unread,
Jun 12, 2008, 7:31:45 PM6/12/08
to TiddlyWiki
Is there a syntax for forcing a link to open in a new tab or window?

R.

FND

unread,
Jun 13, 2008, 3:29:58 AM6/13/08
to Tiddl...@googlegroups.com
> Is there a syntax for forcing a link to open in a new tab or window?

Since TiddlyWiki already makes external links open in a new tab/window,
I assume you want to open tiddlers in a new instance?
That's not possible by default (an intentional design decision, mainly
to avoid edit conflicts).
However, Eric has a core tweak (search for "permalink"):
http://www.tiddlytools.com/#CoreTweaks

HTH.


-- F.

Eric Shulman

unread,
Jun 13, 2008, 4:31:28 AM6/13/08
to TiddlyWiki
With a few minor exceptions, all TiddlyTools CoreTweaks have
corresponding ticket #'s on trac.tiddlywiki.org, so it is probably
easier to search for any given tweak by it's ticket #, rather than
searching for specific text. In this case, Fred is referring to the
tweak for ticket #458

However, the #458 tweak does not "force a link to open in a new tab or
window"... it simply sets the previously undefined HREF value for
TiddlyLinks so that you can, if you so choose, use the right-click to
display the popup "context menu" and then explictly select the "open
link in new window" or "open link in new tab" command. You can also
use the context menu to choose the "bookmark this link" or "copy link
location" commands, which makes it *much* easier to save a permalink
for any given TiddlyLink.

Note that, when using a *left* click, the tweaked TiddlyLink still
applies the standard TW 'onclick' handler and clicking the TiddlyLink
does open the tiddler in the *same* document window, as usual.

In fact, I'd really like to see this ticket re-opened and the tweak re-
considered for core inclusion, as it does *not* actually alter the
normal click behavior and has no negative impact on the design
decision that is intended to "avoid editing conflicts", but *does* add
some very helpful functionality when using a *right* click (as
described above).

-e

Morris Gray

unread,
Jun 13, 2008, 8:37:38 AM6/13/08
to TiddlyWiki
Eric,

I have a special case where I would want the normal left click to open
in a new tab. That is when a TiddlyWiki is in the sidebar and opening
a a link in it would be unacceptable, say because of size or other
reasons. Is there a way to do this?

Morris
> -e,

Xavier Vergés

unread,
Jun 13, 2008, 9:03:42 AM6/13/08
to TiddlyWiki
It's probably also worth mentioning that the AdvancedOptions has a
checkbox to "Open external links in a new window"

-Xv

RA

unread,
Jun 13, 2008, 1:27:50 PM6/13/08
to TiddlyWiki
> AdvancedOptions has a
> checkbox to "Open external links in a new window"

Sorry, I was asking about external links. I have the option checked
but I still get external links open in the same tab for some reason.
What could it be?

R.

Xavier Vergés

unread,
Jun 13, 2008, 1:39:39 PM6/13/08
to TiddlyWiki
Is your browser configured to ignore the requests to open links in a
new tab/window?

XENO

unread,
Jun 14, 2008, 12:27:14 PM6/14/08
to TiddlyWiki
How about a sidebar tiddlywiki opening links (web links, not Tiddlers)
in the main window, in a new tab?
Although I have got used to just pulling and droping the links from
the sidebar to the main window (which opens in the open tab...)
X
Reply all
Reply to author
Forward
0 new messages