HowDoIOpenALinkInANewWindow
Last modified by dilipkumarj on 2020/01/28
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>http://xwiki.org] XWiki Syntax 2.0: [[XWiki>>http://xwiki.org]] |