Sunday, 27 December 2020 13:57

IFrames

Insert and edit iframes in content
 About IFrames
IFrame interface
Creating an editing iframes
Advanced Options
IFrame Options
 

The IFrames dialog is designed to help you easily insert and manage iframes in content.

With the IFrames dialog you can

  1. Create iframes with just a URL - to an external source or a local file - and dimensions.
  2. Manage all the standard properites of iframes as well as alignment and styling.
  3. IFrames are shown in your content as a resizable placeholder.
  4. Insert Youtube, Vimeo and Dailymotion videos with just the video url.

IFrames dialog

The IFrames interface comprises 3 tabbed areas - File, Advanced and Options.

IFrame interface

File

Set the most common attributes for the iframe including URL, Alignment and Dimensions. See Creating an editing iframes 

The URL for a local file can be selected using the  File Browser icon at the end of the URL field.

Advanced

Set advanced attributes for the iframe. See Advanced Options

Options

Set options specific to Youtube, Vimeo and Dailymotion iframes. See IFrame Options

Creating an iframe only requires a URL for the iframe, and the dimensions required for the iframe. The URL can be pasted into the URL field, or a file selected using the file browser icon in the URL field.

To create an iframe

  1. Paste the URL into the URL field or select a file using the File Browser icon
  2. Set the iframe dimensions.
  3. Adjust any other properties for the iframe, such as the Alignment or Margin.
  4. Click the Insert button.

The IFrame will be inserted as placeholder and can be resized and positioned just like an image. The placeholder is converted to iframe code in the Code tab or when you save the article.

IFrame placeholder

Inserting a Youtube, Vimeo or Dailmotion video

For Youtube, Vimeo and Dailymotion videos, just copy the URL for the video from the browser address bar and paste it in to IFrame URL field. The URL is automatically converted into the right format, and the default dimensions inserted. Use the Options tab to set various options for the video and click the Insert button.

Insert Youtube video

Editing an iframe

Click on the iframe placeholder to select it, then click the IFrame button to open the IFrames dialog. Once the required changes have been made, click on the Update button to update the iframe and close the dialog.

The iframe placeholder can be resized, dragged and copy and pasted like an image. To drag resize an iframe, click on the iframe placeholder to select it, then drag one of the handles to resize.

Drag resize

Deleting an IFrame

Click on the iframe placeholder to select it, then click the Delete button on your keyboard.

Various iframe attributes can be set in the Advanced tab.

Advanced tab

Styles

A list of inline css properties to be applied to the iframe, eg: border: 1px solid red;

Classes

Select and apply css classes from your template stylesheet. Additional class names, seperated by a space, can be typed into the field.

Title

A descriptive title for the iframe. This will show as a tooltip when the mouse cursor is placed over the iframe.

Name

Set a unique name attribute value for the iframe.

Id

Set a unique id attribute value for the iframe.

Allow Transparency

Allow for transparent content support in IE browsers

Text or HTML

Optional text or HTML to include inside the iframe.

The Options tab contains additional fields that can be set for Youtube, Vimeo or Dailymotion videos.

For other IFrame types, no additional options are available in this tab.

Options tab

Read 7377 times
More in this category: « Captions Template Manager »