Plumtree Portal UI  
 

PTOpenerLinks.GetJSOpenInNewWindow Method 

Returns the JS method to open the specified URL in a new window. The common use case is to use this in the onclick attribute of an HTML element.

public static string GetJSOpenInNewWindow(
   string _strURL,
   string _strWindowName,
   string _strWindowWidth,
   string _strWindowHeight,
   bool _bIsWindowFancy
);

Parameters

_strURL
The URL to navigate to.
_strWindowName
Name of the new window.
_strWindowWidth
Width of the new window.
_strWindowHeight
Height of the new window.
_bIsWindowFancy
Windows can be fancy or not.

Return Value

The JS method for opening the URL in a new window.

See Also

PTOpenerLinks Class | com.plumtree.portaluiinfrastructure.opener Namespace