Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Michael on Sep 10, 2009 05:58
open dhtmlx forum
dhtmlxLayout + dhtmlxAccordion dont work with Internet Explorer

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
Answer posted by Support on Sep 11, 2009 05:34
Hello,

Please see attached demo.

Possible mistakes: html/body without style, init not in body's onload.
Attachments (1)
demo.zip58.97 Kb