active tabbar color not changing

Hi,
I have some issues and questions regardnig dhtmlxTabbar.

  • I am creating the tabbar dynamically through ajax on the client side. I dont know why but the active tab color doesnt change when I change the tab.
    tabbar=new dhtmlXTabBar(“a_tabbar”);
        tabbar.setImagePath(“img/tabbar/”); 
        tabbar.setSkinColors("#FCFBFC","#F4F3EE");
  • Is it possible to attain a functionality of changing the orders of tabs dynamically by a single drag and drop of tabs like in live.com?

    Regards,
    Khurram

>>but the active tab color doesnt change when I change the tab.

Please be sure that
    - you included the tabbar’s css files
    - you are using default skin ( for other skins, the color of selected tab defined by image, and can be updated only by changing related image )


changing the orders of tabs dynamically by a single drag

Unfortunately, such functionality is not supported yet

Ok thanks the colors are working now.
Do you think that drag and drop functionality can be included in the next release??
Another question that I had liked to ask is, can we enter a new tab at a specific place instead of adding it at the end? I din’t find any function where I could specify the position where the new tab should be added.
Any functions to get the last or first tab id??
Thanking in anticipation.

can we enter a new tab at
a specific place instead of adding it at the end? I din’t find any
function where I could specify the position where the new tab should be
added.
addTab command support such functionality,for example
    tabbar.addTab(id,text,size,position,row)
where position - index inside row (zero based)
row - row index (zero based)

Any functions to get the last or first tab id??
There is no such functionality

Ok thanks for your reply. Imagine a user wants to add a tab just before the last tab on the client side. The position of the new tab should be the position of the last tab minus 1. In that case how can I get the position of the last tab on the client side??
Secondly is there a way to add some common content in all tabs?

The position of the new tab should be
the position of the last tab minus 1. In that case how can I get the
position of the last tab on the client side??
You can use next workaround

var position=tabbar.rows[0].tabCount-2



Secondly is there a way to add some common content in all tabs?
The content can’t be shared between tabs, but in most cases it not a problem to create a copy of content.
    var z=document.getElementById(“contentContainer”);
    tabbar.setTabContentHTML(“a1”,z.innerHTML);
    tabbar.setTabContentHTML(“a2”,z.innerHTML);