The methods and events
We will begin by creating a new instance of the base dhtmlXWindows
object. Refresh the browser to clear any console code from previous exercises.
Initialization
Initializations of DHTMLX's components are either done through an existing component, such as the layout component, or initialized to a DOM element. This is different with the window component. The base object must be created first. From this base object, a set of new windows can be created.
The settings for initialization in the other discussed components have always been added in a functional manner. DHTMLX also provides the optional object literal way of applying settings to initialization for most of their components. For the first exercise we will create multiple windows with the settings as an object literal.
Creating the base object
In the console we will create a new dhtmlXWindows
object with a settings object. This settings object will set the path to the images folder and allow the creation of multiple...