DFrameAPI: onLoad

The starting point method for everything

Example

<script language="Javascript1.2" src="initDFrame.js"></script>

 

<script language="Javascript">          

DFrameAPI.onLoad = function () {

}

Syntax

DFrameAPI.onLoad = function ()

Parameters

no parameters

Return value

no return value

Usage

When the dFrameAPI object has finished to load all files and resources it is ready to start.

It will launch its onLoad method

In the library this method is declared as a null function so nothing happens.

The developers can - an must if a result is expected - define this function: It is the starting point of his work.

See also onLoad in the tutorial