Link in New Window

Description

This macro is currently not available on Cloud.

Macros will be migrated along with the page, and no data will be lost after migration. On Cloud, macros are hidden in View mode, but are visible in Edit mode where they are marked as (Legacy). More details are available on the Confluence Cloud migration FAQ page.


Links to a page or URL, popping it up into a new window.

Depending on the user browser setting, this may open up a new browser tab instead.


Parameters

NameRequiredAvailable InMigratable to Cloud?Default ValueDescription
Link
 Yes
Server, Data Center
No

The name of the page, or the URL.

Full URLs must begin with a valid web protocol such as HTTP, HTTPS or FTP to avoid unexpected errors. Relative URLs must start with a forward slash or be written in wiki markup.

Link Text
 Yes
Server, Data Center
No
Link text to display.
Window Type
 Optional
Server, Data Center
No
normal

Either normal (the default) or popup.

If set to popup, many of the settings below will default to those appropriate for a popup window.

Width
 Optional
Server, Data Center
No
The width of the new window.
Height
 Optional
Server, Data Center
No
The height of the new window.
Target Window
 Optional
Server, Data Center
No
The ID of the window to open in. Links that reuse the same target will reuse the same window.
Tip
 Optional
Server, Data Center
No
The tip to display while the mouse is hovering over the link.
Scrollbars
 Optional
Server, Data Center
No
true
If false, the scrollbar will be hidden. Works with IE, Firefox & Opera only.
Menu Bar
 Optional
Server, Data Center
No
true
If false, the menubar will be hidden.
Location Bar
 Optional
Server, Data Center
No
true
If false, the location bar will be hidden. Works with Opera only. 
Status Bar
 Optional
Server, Data Center
No
true
If false, the status bar will be hidden.
Resizable
 Optional
Server, Data Center
No
true
If false, the window will not be resizable. Works with IE only.
Icon
 Optional
Server, Data Center
No
true
If false, the link will not have an "open new window" icon.