Child pages
  • How To Open a Link in a New Window

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin


Section
Column
width50%
Panel
borderStylesolid
titleTable of Contents
Table of Contents
Column
Panel
borderStylesolid
titlePurpose

Excerpt

The Confluence wiki is configured to open links in the same window you are currently viewing. Sometimes in your pages or documentation it is preferred to open a link in a new window.

Requirements

This hyperlink capability must be entered on your page(s) using the Wiki Markup editor and nto the Rich Text editor. You can alternate between the two types of editors at the top of the edit window while you are editing a page.

Instructions

The Confluence wiki is configured to open links in the same window you are currently viewing. Sometimes in your pages or documentation it is preferred to open a link in a new window.

To create a hyperlink which opens in a new window, you will need to use the newwindow macro. This is a User Macro created internally to this Confluence instance per the suggestion on CONF-1986.

Code Block
{newwindow:url}Name{newwindow}

So, by way of example:

Code Block
{newwindow:http://news.google.ca}Google News Canada{newwindow}

Doing this will output a link that, when clicked upon, opens in a new tab or window (depending on the client-side preferences set by the clicker), a la

newwindow
http://news.google.ca
http://news.google.ca
Google News Canada

Tips & Warnings

none