Referencing HTML as an Object

You can reference an external file as an individual object on a page. For example, you can reference an ad banner, an applet created by a Java, or any other object requiring special code.

You can even reference several external files on a page. For example, you might construct a front page for a company newsletter that includes a slot for each of several externally maintained story leads.

As when you reference HTML as a Layout area, you can incorporate each file’s <HEAD> tags and script definitions to include existing META tag and script definitions.

To reference HTML as an object:

  1. In Page view, choose the External HTML tool from the Advanced toolbox.

  2. Draw a box where you want the referenced content to appear.

Put the box in the Layout area to publish the content on one page, or in the MasterBorder to publish it in the border of several pages.

The Reference External HTML Page dialog appears.

  1. Click Browse, select the external file you want to reference, and choose whether to import the file’s <HEAD> content and manage external assets, as described in Referencing HTML from Page View.

  2. Click OK.

A placeholder for the referenced HTML file fills the box. Preview the page to see the object. If necessary, go back and adjust the box’s position in Page view to get the spacing you want. As with other objects, you can drag a referenced object around the page, drag it inside other objects, or even layer it.

Double-click the referenced HTML placeholder to edit the referenced file in HTML Source view. To edit the file in an external editor, right-click and choose Open File In External Editor from the shortcut menu. To specify a default external HTML editor, see Setting Program Options .