dhtmlxLayout + dhtmlxAccordion dont work with Internet Explo

Hello Guys,



i develop an interface with DHTMLX Components and now i have a big problem. I’ve created an 3L Layout with dhtmlxLayout, and some sublayouts, then i put an accordion in the one, to have an navigation insert, in Firefox and Safari it works well, but the attachAccordion() function make trouble in the Internet Explorer 8, the code:



    var main = new dhtmlXLayoutObject(document.body, “3W”);

    main.setAutoSize(“b”, “a;b;c”);



    main.cells(“a”).setWidth(250);

    main.cells(“c”).setWidth(250);

    main.cells(“b”).hideHeader();

    main.cells(“c”).hideHeader();



    main.cells(“b”).attachObject(“ajax”);



    left = new dhtmlXLayoutObject(main.cells(“a”), “2E”);



    left.cells(“a”).setText(‘Favoriten’);

    left.cells(“a”).attachObject(“favoriten”);

    left.cells(“a”).setHeight(250);

    

    left.cells(“b”).hideHeader();

    mainmenu = left.cells(“b”).attachAccordion();



It works all well, to the last line, if i comment it out, it works, but i need the menu.



I use the dhtmlx.js full ressource, included the download package from your site.



I hope you can help me, Thanks!



Michael

Hello,

Please see attached demo.

Possible mistakes: html/body without style, init not in body’s onload.

demo.zip (57.6 KB)