create new tag
, view all tags

Feature Proposal: Show outgoing links with a symbol


U useful feature to distinguish outgoing links from TWiki links is to append a small arrow icon to the link.

Example: some siteexternal link

The symbol might be a character, like »: some site ».

-- ArthurClemens - 31 Oct 2005


yep, that would be nice to have smile

-- SvenDowideit - 31 Oct 2005

Doesn't the LinkOptionsPlugin already do half the trick? wink

-- FranzJosefSilli - 31 Oct 2005

... as well as the NatSkinPlugin which also adds a target="_blank" wink

-- MichaelDaum - 31 Oct 2005

  1. LinkOptionsPlugin does not automatically discern an outgoing link
  2. We could indeed copy the functionality of NatSkinPlugin, but I would like to have it without NatSkinPlugin itself - i.e. it should be in the core.

-- ArthurClemens - 31 Oct 2005

Why not keep it as a plugin, so that it could be installed on older TWiki releases too? It is no core functionallity. If there's anything that could be split cleanly into plugins then you should go that way and don't saddle the core with it, IMO.

  • With the danger we end up having a hundred plugins for all sorts of small enhancements. -- AC - 31 Oct 2005

-- MichaelDaum - 31 Oct 2005

A flexible solution is to use CSS, then it is up to the skin to render external links. For example with a class="twikiExternalLink" in the anchor tag.

  • But we don't have a mechanism yet to write anything inside the class tags, except with javascript parsing. -- AC - 31 Oct 2005

-- PeterThoeny - 31 Oct 2005

Here is an example (with a too big icon)


Written as:

<style type="text/css">
a.twikiExternalLink:after {content: url(%PUBURLPATH%/%TWIKIWEB%/TWikiDocGraphics/globe.gif);}

<a href="http://www.google.com/" class="twikiExternalLink">Google</a>

-- PeterThoeny - 31 Oct 2005

But this is CSS2,and not supported by IE. http://nanobox.chipx86.com/browser_support.php

-- ArthurClemens - 01 Nov 2005

That is an important reason not to use the CSS approach. Plugin or core, I do not have a strong opinion on this one. Possibly core since it is a small isolated feature that can be turned on/off by a preferences setting (like tooltip).

-- PeterThoeny - 01 Nov 2005

We've discussed this issue these days on TWikiUserGroupsInBrazil, and wrote ExternalLinkPlugin as a proof of concept.

-- AntonioTerceiro - 03 Nov 2005

ExternalLinkPlugin works great.

-- ArthurClemens - 21 Mar 2006

Edit | Attach | Watch | Print version | History: r15 < r14 < r13 < r12 < r11 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r15 - 2006-04-26 - WillNorris
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.