Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kevin cook on Jan 07, 2009 18:45
open dhtmlx forum
accordions in Layouts

How does one set the skin for an accordian that is attached to a layout?

My code renders an unskinned accordion:

myLayout = new dhtmlXLayoutObject(document.body,"2U","dhx_black");
...

myAccord = myLayout.cells('b').attachAccordion() ;
myAccord.setEffect(true);
myAccord.addItem('c','Help');
myAccord.addItem('d','Feedback');
myAccord.cells('c').attachURL('/DIMS2/help/index.html');
myAccord.cells('d').attachURL('/DIMS2/help/feedback.php?');

Answer posted by Support on Jan 08, 2009 03:20
Layout set skin for the accordion automatically.
Please check attached css files. It seems not all attached.