This question about Documentation: More info required

Display of External Links in NatSkin

On a previous rev of the site, external links appeared with an icon.

And .../bin/view/TWiki/NatSkin Says:

All offsite links are marked and a nice icon is added. Clicking on them will allways open an extra window.

On the FoswikiVM this doesn't seem to be the case. Searching documentation doesn't easily reveal how this may be configurable.

.../System/NatSkinFAQ#Can_I_disable_offsite_link_detec says:

No. Missing feature to make this feature optional.

Yet .../bin/view/System/NatSkinPlugin Says:

21 Sep 2007: made external link detection optional

Clarity? How can this be turned on?


Use now Configure -> Extensions -> NatSkin -> DetectExternalLinks

To open external links in a separate window, use this javascript fragment:

jQuery(function($) {
  $(".natExternalLink").attr("target", "_blank");

Add it to your Main.SiteHtmlHead topic for instance to incorporate it to every page of your site, or to Myweb.WebHtmlHead to configure the behavior for a single web.

-- MichaelDaum - 17 Feb 2014

I tried this but it does not work for me because HtmlHead topic is loaded before jquery is loaded.

-- UlrichLeodolter - 26 Mar 2014

QuestionForm edit

Subject Documentation
Extension NatSkin
Status More info required
Related Topics
Topic revision: r6 - 26 Mar 2014, UlrichLeodolter
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy