I added an accordion to an existing window. I have no problems with the data but with my selected skin. Instead of using the selected black skin he is not using any of them, not even the default one. The path to the dhx_black.css is correct, because I am able to use the windows skins which are using the same folder structure. Here is my code:
css:
code:
Like I said, no skin is used… but why?
dhtmlxAccordion inherits dhtmlxWindows skin. There is a “web” skin is a choosen one for windows, but there is no such skin for accordion,
besides attached absolutely different file (dhtmlxaccordion_dhx_black.css).
Try to attach dhtmlxaccordion_dhx_black.css and dhtmlxwindows_dhx_black.css and run the following code:
…
dhxWins_rechts.setSkin(“dhx_black”); // or any other
Or set your own skin to accordion different from window:
…
// setup of the accordion
dhxAccord_rechts = w_rechts.attachAccordion();
dhxAccord_rechts.setSkin(“dhx_blue”); // in this case you should attach dhtmlxaccordion_dhx_blue.css
…