DHTMLX Docs & Samples Explorer

Object API Init

Source
<script type="text/javascript" src="../../codebase/dhtmlxcommon.js"></script>
<script type="text/javascript" src="../../codebase/dhtmlxtoolbar.js"></script>
<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxtoolbar_dhx_skyblue.css"></link>
 
<div style="height: 150px;"><div id="toolbarObj"></div></div>
<script>
var toolbar;
function doOnLoad() {
    var toolbarData = {
        parent: "toolbarObj",
        icon_path: "../common/imgs/",
        xml: "../common/dhxtoolbar.xml";
    };
    toolbar = new dhtmlXToolbarObject(toolbarData);
}
</script>