Tabbar

Hi Support,



I’m getting a javascript error when creating a tabbar using IE6.



The script breaks on the following line of 114 of the tabbar code(minimised version):



dhtmlXTabBar.prototype.setSkinColors=function(a_tab,p_tab,c_zone)

{

this._styles[this._cstyle][10]=p_tab;

this._styles[this._cstyle][11]=a_tab;

this._conZone.style.backgroundColor=c_zone||a_tab};



Specifically the last line cases the error with the message of “Invalid property”



Any help would be most appreciated as it doesnt happen FF3



Cheers





Scott


Hello,


the issue wasn’t reproduced locally.


Please, take a look at the attached sample


tabbar.zip (27 KB)

The issue occurs when I call:

tabbar.setSkinColors("#FCFBFC,#F4F3EE");



tabbar.enableForceHiding(true);



tabbar.setOffset(“3”);



tb.addTab(“0”,“Search”);



tb.addTab(“1”,“Results”);


Please, replace


tabbar.setSkinColors("#FCFBFC,#F4F3EE"); /1 parameter/


with


tabbar.setSkinColors("#FCFBFC","#F4F3EE"); /2 parameters/