Frame

Version: 9.0

A Frame control renders a standard HTML inline frame (“iframe”). The SourceUrl property defines the address of the shown HTML document.

Note

A user's browser settings can interfere with the content that the control displays (for example, the cross-site scripting settings can disable features required by the referenced HTML page).

Properties

Name

Description

Default

Data

Height

Specify the height of the Frame control. You can use percentages (“100%”) or pixels (“600”). If you use a percentage, SPEAK sets the height of the Frame control so that it fills the available vertical space of the containing element in the layout.

Note

You must be very careful if you use pixels because the layout that SPEAK creates is fluid and it does not have absolute dimensions.

SourceUrl

Specify the URL of the HTML document to display, for example: http://www.sitecore.net.

Width

Specify the width of the Frame control. You can use percentages (“100%”) or pixels (“600”). If you use a percentage, SPEAK sets the width of the Frame control so that it fills the available vertical space of the containing element in the layout.

Note

You must be very careful if you use pixels because the layout that SPEAK creates is fluid and it does not have absolute dimensions.

Configuration

You can create a configuration item for a Frame control by creating an item based on the Frame Parameters template.

The configuration item has these specific fields:

  • SourceUrl

  • Width

  • Height

  • IsDeferred

Do you have some feedback for us?

If you have suggestions for improving this article,