Categories | Question details Back To List | ||
How do I hide the caption of a tab? I have a tabbar with 5 tabs that I want to act as a wizard. To do this I would need to be able to hide each tab's caption but still be able to get to the tab content on each page. Calling hideTab() hides the entire tab, which is not what I want. Is there any way to acheive what I am after? Cheers, Mal. Answer posted on Nov 01, 2007 03:00 There is no command in public API which will hide tab caption while having tab visible , but you can easily change behavior by small code modification dhtmlXTabBar.prototype.hideTab = function(tab,mode){ var tab=this.tabsId[tab]; if (!tab) return; // this._goToAny(tab,mode); << just comment this line tab.style.display='none'; var row=tab.parentNode; this._redrawRow(row); } |