<script src="codebase/dhtmlx.js"></script>
<script src="codebase/types/ftypes.js"></script>
<link rel="STYLESHEET" type="text/css" href="codebase/dhtmlx.css">
<link rel="STYLESHEET" type="text/css" href="codebase/types/ftypes.css">
...
function doOnLoad(){
// initialise layout
myLayout = new dhtmlXLayoutObject(document.body, "2U");
myLayout.cells("a").setWidth(250);
myLayout.cells("a").setText("Folders");
myLayout.cells("b").hideHeader();
myAccordian = myLayout.cells("b").attachAccordian("accord");
}
When I try to attach an accordian to the cell I get an error message telling me that attachAccordian is undefined.