Wrapper class to correctly manage popups requested by Source Control hooks.
This is a Zen Page class. It belongs to the application
Property to indicate whether a specific CSS Level should be used for the page. By default, we will attempt to use CSS Level 3 if we can detect the browser supports HTML 5. The value can be modified by implementing the GetPortalPageOptions() callback defined in
Flag to indicate whether the IE=Edge meta tag should be written out to force Internet Explorer to use its most recent rendering engine. By default, the portal does write out this flag, but users can disable the flag by implementing the GetPortalPageOptions() callback defined in
%Studio.SourceControl.Baseto specify that IE Compatibility should be permitted.
Point the iframe at the URL specified in targetURL.
If the source control hooks a specific CSS level is specified in
%CSSLevel, return the value, otherwise use the default for the portal.
If the source control hooks specify that IE Edge mode should NOT be used, ensure that we don't invoke the code to write out the corresponding meta tag.
Adds a JS Interval which executes the supplied function at the supplied interval.
Check whether the contents of the iframe have been completely loaded, and close the window if it's a Studio template, otherwise add the source control specific onbeforeunload event handling.
Remove any intervals created while waiting for source control frames to load. Primarily used to check on the status of the popup.
Code to resize the iframe based on the window size and check whether a title
This client event, if present, is fired when the page is first loaded or whenever it is resized.
If this is called at load time, then load will be true.
This client event, if present, is fired when the page is unloaded. If this method returns a string value, then that is used as the return value of the HTML page's onbeforeunload handler (if more than one component returns a string, the first one encountered is used).
Update the title of the main window based on the title of the inner iframe.