dhtmlxTabbar: using background images on tabs

I have the following XML file:



<?xml version="1.0"?>





1



[other tabs deleted]











Rather than have the number 1 show on the Tab I want to use a background image I have prepared called tab_home.png which I have designed for tabs which are right aligned.



This is the main html:









    Right TabBar

    

    

    
















































What do I need to do in order to get the graphic to show as the tab’s background image ?



Many thanks in advance for any help with this matter.


you can change the tabbar images. Please, see details in the following post:


dhtmlx.com/docs/products/kb/inde … mal&q=8615

That doesn’t seem to refer to what I want to do which is have a different name showing for each of my 10 tabs. I can’t use plain text to name the tabs as they are right aligned but instead I have created 10 png images which show the names on the tabs and I sort of need them to be set using css background-image ?




You can place html as the tab text. It can be an image:


tabbar.addTab(someId,"",“100px”);

I’m using an xml file to load the tab details though … can it also be done that way or do I need to abandon the xml file and use javascript addTab instead?


It’s possible to apply the same approach in case of xml loading:


<![CDATA[]]>

OK, that’s working nicely now.  Many thanks for your help.