{link-window}
Plugin: Linking Plugin, from version 2.2.1
Links to a page or URL, popping it up into a new window.
Usage
Parameters
| Name |
Required |
Default |
Description |
| [default]/href | | | The name of the page, or the URL. |
| type | | 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 | | | The width of the new window. |
| height | | | The height of the new window. |
| scrollbars | | true | If false, the scrollbar will be hidden. |
| menubar | | true | If false, the menubar will be hidden. |
| location | | true | If false, the location bar will be hidden. |
| statusbar | | true | If false, the status bar will be hidden. |
| resizable | | true | If false, the window will not be resizable. |
| target | | | The title of the target window. Use this to open multiple links in the same popup window. |
| tip | | | The tip to display while the mouse is hovering over the link. |
| icon | | true | If false, the link will not have an 'open new window' icon. |
Examples
View Google in a popup window.
Notes
If the URL you are linking to contains an '=' character, you must use the 'href=http://....' format, rather than specifying it as the default parameter. Eg:
See Also
hi,
why is there no template-option for link-window?
link-window wasn't really intended to be used for adding content, just linking to existing content. Probably the simpler route would be to add popup features to add-page. Please create a feature request if you'd like to see that in the future.
Updated by Mike Dunn
Jun 03, 2008 05:10
The link-window macro is not pulling the correct URL when attempting to link to an attachment of a page.
My Confluence Site Configuration has a "Server Base Url" value of "https://sandbox.abc.com/testwiki".
I have an attachment in a page, named "Coaching Event Calendar 3-25-08.pdf", which I wish to include in a link within the page, and have it open in a new window.
When I use Confluence's basic linking markup, the following correctly-formed URL is generated:
https://sandbox.abc.com/testwiki/download/attachments/18547033/Coaching+Event+Calendar+3-25-08.pdf?version=1
. . . but of course their is no capability with this approach to open it in a new window.
When I use the link-window macro, the following incorrectly-formed URL is generated:
https://sandbox.abc.com/download/attachments/18547033/Coaching+Event+Calendar+3-25-08.pdf?version=1
Notice that the "/testwiki" is missing from the link-window generated link. It appear that the link-window macro is only pulling the domain of "sandbox.abc.com", and not the full path specified as Confluence's "Server Base Url".
Is this a know issue, or is there some form of workaround available with the macro?
Definitely looks like a bug. Could you please create a bug report with your example and we'll address it in the next version. Also, please list the version of Confluence and the plugin you're using.
In the meantime, the only workaround is to cut-n-paste the full URL for the attachment as the path, rather than the more-convenient 'Page^attachment.ext' style. Sorry about that.
I run into this same issue when trying to link to a Confluence page. The only thing that seems to work is linking to a http address. I followed you link above to a "bug report" but did not see this one entered or how to submit a new one. I will continue to try. This makes this the function fairly useless for linking to Confluence information.
Bug has been logged at Link-136.
how do I link to another Confluence page and have it pop up in a new window? With this one I think I need to link to the tiny link but there must be a better way.
thanks for any help.
Search with Google
produces a popup with a status bar in Firefox, but no status bar in IE. At least, this is the behaviour with v2.5.0. The version used on this page seems to work. I have raised LINK-141 to get a confirmation.