## DFrame: createDynAPIDocument

Returns an object on which it will be possible to add DynAPI objects.

Example

dFrame. createDynAPIDocument()

### Syntax

DFrame. createDynAPIDocument ()

### Parameters

no parameter

### Return value

A DynAPI document for IE / NS6, a DynLayer for NS4.

### Usage

The createDynAPIDocument needs the DFrame to be created with the setURL or the alert methods and does not work if the DFrame is created with the show method.

This method

· creates and returns a DynAPI document in the page loaded in the DFrame, for IE and NS6

· returns the DynLayer included in the DFrame for NS4.

In both cases it is then possible to add DynAPI objects on the object handled by the return value.

Refer to DynAPI for a more detailed description.