Window Usage Example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
<html> 
	<head> 
		<link rel="stylesheet" href="../../../codebase/touchui.css" type="text/css" media="screen" charset="utf-8"> 
		<script src="../../../codebase/touchui.js" type="text/javascript" charset="utf-8"></script> 
	</head> 
	<body> 
 
		<script type="text/javascript" charset="utf-8"> 
       dhx.ui({//defines view
			view:"window",//defines window
			head:{ //specifies content of the window's header
				view:"toolbar", type:"MainBar", data:[ // in the header we put a toolbar
					{type:"label", label: "Window", align:'left'},
					{ type:'button', label: 'Save', align: 'right'}
				]
			},
			body:"",
			top:20, left:20, // window offsets
			move:true
		});
		</script> 
	</body> 
</html>