Minimal init

Input Position (x,y)
Input Size (width, height)
Input Header Text
</> Source
<!DOCTYPE html>
	<title>Minimal init</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
	<link rel="stylesheet" type="text/css" href="../../../codebase/fonts/font_roboto/roboto.css"/>
	<link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlx.css"/>
	<script src="../../../codebase/dhtmlx.js"></script>

		var dhxWins
		function doOnLoad() {
			dhxWins = new dhtmlXWindows();

		var idPrefix = 1;
		function createWindow() {
			var p = 0;
			if (p>5) {
				alert("Too many windows");
			var id = "userWin"+(idPrefix++);
			var w = Number(document.getElementById("win_w").value);
			var h = Number(document.getElementById("win_h").value);
			var x = Number(document.getElementById("win_x").value);
			var y = Number(document.getElementById("win_y").value);
			dhxWins.createWindow(id, x, y, w, h);
			// dhxWins.window(id).keepInViewport(true);
			document.getElementById("win_x").value = x+50;
			document.getElementById("win_y").value = y+40;

		function doOnUnload() {
			if (dhxWins != null && dhxWins.unload != null) {
				dhxWins = null;

<body onload="doOnLoad();" onunload="doOnUnload();">
				<td>Input Position (x,y)</td>
				<td><input id="win_x" type="text" style="width: 30px;" value="20"> <input id="win_y" type="text" style="width: 30px;" value="30"></td>
				<td>Input Size (width, height)</td>
				<td><input id="win_w" type="text" style="width: 30px;" value="320"> <input id="win_h" type="text" style="width: 30px;" value="200"></td>
				<td>Input Header Text</td>
				<td><input id="win_t" type="text" style="width: 150px;" value="New dhtmlxWindow"></td>
				<td colspan="2" align="center" style="padding-top: 10px;"><input type="button" value="Create Window" onclick="createWindow();"></td>
	<div id="winVP" style="position: relative; height: 500px; border: #cecece 1px solid; margin: 10px;"></div>


Check documentation to learn how to use the components and easily implement them in your applications.