IsNewWindowEnabled function

Syntax

IsNewWindowEnabled()

Description

Use the IsNewWindowEnabled function to return a boolean value indicating whether the new window feature is enabled on the component. If new windows are disabled for the current web profile, then this function always returns False regardless of the component setting.

Important:

Use this function within fluid applications only.

Parameters

None.

Returns

A Boolean value.

Example

&cookieValue = %Request.GetCookieValue("IOS_FULLSCREEN"); /* Do not enable if ios fullscreen */
PT_WORK.PT_BUTTON_NEWWIN.Visible = (IsNewWindowEnabled() And
   Not (&cookieValue = "1"));