HowDoIOpenALinkInANewWindow

Last modified by Dilipkumar Jadhav on 2010/01/30

Question What is the correct syntax for specifying a link that should open in a new browser window? Is the syntax different for internal references versus HTTP links to external documents?
Answer The correct syntax for specifying a link should open in a new browser window is as follows:

XWiki Syntax 1.0:

[label>WebHome>_blank]

XWiki Syntax 2.0:

[[label>>WebHome||rel="_blank"]]

In the examples above the "blank" attribute has a preceding underscore. i.e. _blank

The Syntax remains almost the same for specifying external & internal links. The only difference is the URL.

XWiki Syntax 1.0:

XWiki Syntax 2.0:

Tags:
Created by Lee Hammons on 2007/01/04
    

Get Connected