DHTMLX Docs & Samples Explorer

Init From XML

Source
<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxaccordion_dhx_skyblue.css">
<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxaccordion.js"></script>
<script src="../../codebase/dhtmlxcontainer.js"></script>
<script>
var dhxAccord;
function doOnLoad() {
    dhxAccord = new dhtmlXAccordion("accordObj");
    dhxAccord.loadXML("../common/dhxaccord.xml?etc=" + new Date().getTime(), function() {
        // console.log("loaded");
        });
}
</script> <div id="accordObj" style="position: relative; width: 320px; height: 400px;"></div>