When using the code below:
tabbar=new dhtmlXTabBar("_tabbar",“top”);
tabbar.setImagePath("_js/imgs/");
tabbar.preventIECashing(true);
tabbar.setStyle(“silver”);
tabbar.setMargin(-1);
tabbar.loadXML("_xml/tabs.xml");
tabbar.setOnSelectHandler(function(id){
if (id==“b1”)
tabbar.forceLoad(“b1”,“test.asp”)
return true;
})
I’ll get an javascript error: “this._lastActive.idd is null or not an object” when I’ll open the default page and the selected iframe in the xml file will not load. When I click on a tab everything works fine. Also forcing of a page refresh works.
Could you help me to fix this error?
The problem was confirmed and fixed. Please, try to use attached file instead of the original one
dhtmlxtabbar.zip (10.8 KB)