Views:

Description

Opens a new window given a URL with a default target of '_blank' (new window). An optional second parameter can be specified to set target as follows:

  • _blank - URL is loaded into a new window, or tab. This is default

  • _parent - URL is loaded into the parent frame

  • _self - URL replaces the current page

  • _top - URL replaces any framesets that may be loaded

 

Signature 1

OpenWindow('url')

Signature 2

OpenWindow('url', 'target')

 

Example 1

Opens the Google website in a new window.

OpenWindow('https://www.google.com')

Example 2

Opens the Microsoft website in the current window.

OpenWindow('https://www.microsoft.com', '_self')

 

Notes

Browser Window Open Function

Window Open Function

 

Microsoft APIs

This North52 function relates to the following Microsoft APIs: