IFrame Setup

This controls the setup of the inline frame. Each element below is based upon the settings possible from an IFRAME tag in HTML 4.0+.

Align

Type: String

Specifies the alignment of an Iframe according to surrounding elements. Supported values are:

      Left

      Right

      Top

      Middle

      Bottom

AutoHeight

Type: Boolean

If set to True, automatically resizes the inline frame to match to the loading page height.

NOTE: Due to cross-site scripting security, this property is only supported when the page being loaded is on the same web application as where the Page Utility resides. Also, resizing based on dynamic content is not supported; the page being loaded must have a defined height at load time.

BorderColor

Type: Color

The color name or hex code to use for the Iframe border. Only used if FrameBorder is omitted or set to True.

FrameBorder

Type: Boolean

Specifies whether or not to display a border around an Iframe.

FrameSpacing

Type: Number

Specifies the padding between the frame border (if enabled) and the page being loaded within the Iframe.

Height

Type: Number

Specifies the height of the Iframe, measured in pixels.

HSpace

Type: Number

Specifies the space to the left and right of the Iframe on the page.

Id (required)

Type: Number

The ID assigned to the Iframe. This allows it to be referenced via the WTFrameSetter JavaScript function.

MarginHeight

Type: Number

Specifies the internal top and bottom margins of the Iframe.

MarginWidth

Type: Number

Specifies the internal left and right margins of the Iframe.

Name (required)

Type: String

The Name assigned to the Iframe. This allows it to be referenced via the WTFrameSetter JavaScript function.

NoResize

Type: Boolean

Specifies whether or not the user has the ability to resize the Iframe borders manually.

Default: False

Scrolling

Type: String

Specifies whether or not to display scrollbars in the Iframe. The available options are:

      Yes

      No

      Auto

Src

Type: String

Specifies the URL of the initial page to load within the Iframe. Omit this attribute to have the Iframe not load anything upon page load, to later set the source via WTFrameSetter JavaScript function.

Style

Type: String

Used to apply native CSS styling to the Iframe.

VSpace

Type: Number

Specifies the space above and below the Iframe on the page.

Width

Type: Number

Specifies the width of the Iframe either as a pixel number (350) or a percentage of the available space (100%).

 

Example:

<PageLoad>
                <Setup>
                                <Name>CorasWorks</Name>
                                <Id>CorasWorks</Id>
                                <Width>100%</Width>
                                <Height>500</Height>
                                <Src>http://www.corasworks.net</Src>
                </Setup>
</PageLoad>

Title: Page Utility - iFrame Example - Description: Page Utility - iFrame Example

 

Show Loading Screen (Iframe & Inline HTML Only)

Controls whether or not a Loading Screen will be presented to the user while content is being loaded in the inline frame.

Default: true

Custom Loading HTML (Iframe & Inline HTML Only)

Controls the HTML displayed while the IFrame is loading.

JavaScript Reference (Iframe & Inline HTML Only)

WTFrameSetterID/Name(‘url’);

Requires:      ID, Name

Enables you to, from within a page, cause a load of content from a specified URL without a page refresh. This will automatically show the loading screen and cannot be overridden.

Example:       WTFrameSetterCorasWorks(‘http://www.corasworks.net’);

 

Back to Top