how to add new tab after initial addition

Hello all

I want to add more tabs after the page has loaded with few default tabs

is it possible to get dhtmlXTabBar object through DOM or any other way
if i can get dhtmlXTabBar object thn i should be able to add more tabs.

Or is thr any other way?

Thanks

Hello,

tabbar = new dhtmlXTabBar(…);
tabbar.addTab(tabId,tabText,tabWidth);

Here is the sample:

dhtmlxTabbar/samples/01_initialization/01_init_from_script.html

Hi
i think i failed to communicate my question properly

“what i want to do is to add tabs dynamically”

how can I do this?

Thanks

Hi,

addTab method is the only way to add tabs in tabbar after it’s initialized.