<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxtoolbar_dhx_skyblue.css">
<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxtoolbar_dhx_web.css">
<link rel="stylesheet" type="text/css" href="../../../dhtmlxAccordion/codebase/skins/dhtmlxaccordion_dhx_skyblue.css">
<link rel="stylesheet" type="text/css" href="../../../dhtmlxAccordion/codebase/skins/dhtmlxaccordion_dhx_web.css">
<link rel="stylesheet" type="text/css" href="../../../dhtmlxGrid/codebase/dhtmlxgrid.css">
<link rel="stylesheet" type="text/css" href="../../../dhtmlxGrid/codebase/skins/dhtmlxgrid_dhx_skyblue.css">
<link rel="stylesheet" type="text/css" href="../../../dhtmlxGrid/codebase/skins/dhtmlxgrid_dhx_web.css">
<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxtoolbar.js"></script>
<script src="../../../dhtmlxAccordion/codebase/dhtmlxaccordion.js"></script>
<script src="../../../dhtmlxAccordion/codebase/dhtmlxcontainer.js"></script>
<script src="../../../dhtmlxGrid/codebase/dhtmlxgrid.js"></script>
<script src="../../../dhtmlxGrid/codebase/dhtmlxgridcell.js"></script>
<script>var dhxAcc,
dhxGrid,
dhxToolbar;
var dhxAcc2,
dhxGrid2,
dhxToolbar2;
function doOnLoad() {
dhxAcc = new dhtmlXAccordion("accordObj", "dhx_skyblue");
dhxAcc.addItem("a1", "Mobile Phones");
dhxAcc.addItem("a2", "b");
dhxAcc.addItem("a3", "c");
dhxAcc.openItem("a1");
dhxGrid = dhxAcc.cells("a1").attachGrid();
dhxGrid.setImagePath("../../../dhtmlxGrid/codebase/imgs/");
dhxGrid.loadXML("../common/grid.xml?etc=" + new Date().getTime());
dhxToolbar = dhxAcc.cells("a1").attachToolbar();
loadToolbar(18);
dhxAcc2 = new dhtmlXAccordion("accordObj2", "dhx_web");
dhxAcc2.addItem("a1", "Mobile Phones");
dhxAcc2.addItem("a2", "b");
dhxAcc2.addItem("a3", "c");
dhxAcc2.openItem("a1");
dhxGrid2 = dhxAcc2.cells("a1").attachGrid();
dhxGrid2.setImagePath("../../../dhtmlxGrid/codebase/imgs/");
dhxGrid2.loadXML("../common/grid.xml?etc=" + new Date().getTime());
dhxToolbar2 = dhxAcc2.cells("a1").attachToolbar();
loadToolbar2(18);
}
function loadToolbar(a) {
dhxToolbar.clearAll();
dhxToolbar.setIconSize(a);
dhxToolbar.setIconsPath("../common/icon_size/" + a + "/");
dhxToolbar.loadXML("../common/dhxtoolbar_button2.xml?" + new Date().getTime());
}
function loadToolbar2(a) {
dhxToolbar2.clearAll();
dhxToolbar2.setIconSize(a);
dhxToolbar2.setIconsPath("../common/icon_size/" + a + "/");
dhxToolbar2.loadXML("../common/dhxtoolbar_button2.xml?" + new Date().getTime());
}
</script>
<table>
<tr>
<td>
<div style="padding-bottom: 10px;">
<input type="button" value="18" onclick="loadToolbar(18);">
<input type="button" value="24" onclick="loadToolbar(24);">
<input type="button" value="32" onclick="loadToolbar(32);">
<input type="button" value="48" onclick="loadToolbar(48);">
</div>
<div id="accordObj" style="position: relative; width: 320px; height: 400px;"></div>
</td>
<td width="50"> </td>
<td>
<div style="padding-bottom: 10px;">
<input type="button" value="18" onclick="loadToolbar2(18);">
<input type="button" value="24" onclick="loadToolbar2(24);">
<input type="button" value="32" onclick="loadToolbar2(32);">
<input type="button" value="48" onclick="loadToolbar2(48);">
</div>
<div id="accordObj2" style="position: relative; width: 320px; height: 400px;"></div>
</td>
</tr>
</table>