Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Mirel Galán on Oct 16, 2008 06:37
open dhtmlx forum
Title in tabbar

How do I make that the tab has the same title of the label?

thx
Answer posted by Support on Oct 16, 2008 08:35
The tab title defined while tab creating ( 2nd parameter of addTab  command ) 
It can be changed , at any moment, by 
        tabbar.setLabel(tab_id,new_label);
Answer posted by Mirel Galán on Oct 16, 2008 09:20
I can see the label, but I can not see the title of this.
:S
Answer posted by Mirel Galán on Oct 16, 2008 09:26
I could do it by putting a div into the 2nd parameter of the addTab function

tabbar.addTab("id_newTab", "<div title='New Tab Title'>New Tab</div>", "100px");

thx :D
Answer posted by Support on Oct 16, 2008 09:46
You can use any HTML as tab label, and used solution, with inline div tag, is only way to set title for a tab.