Instantiation of a DFrame:

Syntax.

A DFrame instantiated by the 'new' keyword:

var dFrame = new DFrame(position, title,  dFrameStyle)  

The parameters of instantiation are explained in detail in the DFrame class and briefly below:

position:
Position of the dFrame, in percentages of the window browser or DFrame's parent. 
It must be a Javascript Array:
[left position, top position, right position, bottom position]. These values are expressed as percentages of the object receiving the DFrame (currently the window browser).

Caution: The 2 last parameters are positions and not dimensions. Thus maximum for those values is 100.

For the first dFrame that, a priori, occupies all the surface of the navigator the definition of position will be

var position = [ 0, 0, 100, 100 ];

title:
Title of the DFrame, such as it will appear in the title bar of the DFrame and in the buttons associated to the DFrame in the task Bar. 

dFrameStyle:
The Styles class are a significant part of dFrameAPI and are explained in another section.

A Style is an object instantiated by the syntax:   

var dFrameStyle = new  DFrameStyle();   

This syntax creates a new DFrameStyle object with the whole of its properties initialized by default. Only those which do not correspond to the desired graphic aspect will have to be modified:

dFrameStyle.setBackgroundColor('red') 

dFrameStyle.setBordersWidth(2)