addTab(id, text, size, position, row)add tab to TabBar
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
id - tab id text - tab content size - width(height) of tab position - tab index , optional row - index of row, optional [only in PRO version] clearAll()reinitialize tabbar
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
disableTab(tab,mode)disable tab in tabbar
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
tab - id of tab mode - if set to true, selection jump from current tab to nearest one enableAutoReSize(mode)enable / disable auto adjusting height and width to outer conteiner
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
mode - enable/disable enableAutoRow(...)
[professional ]
enable mode, in which new row created automatically to prevent tab scrollers
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
enableAutoSize(autoWidth,autoHeight)enable disable auto adjusting height and width to inner content
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
autoWidth - enable/disable auto adjusting width autoHeight - enable/disable auto adjusting height enableContentZone(mode)enable/disable content zone (enabled by default)
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
mode - true/false enableForceHiding(mode)enable/disable force hiding mode, solves IE problems with iframes in HTML content, but can cause problems for other dhtmlx components inside tabs
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
mode - true/false enableScroll(...)
[Professional ]
enable/disable scrollers ( enabled by default )
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
enableTab(tab)enable tab in tabbar
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
tab - id of tab enableTabCloseButton(bool)enable mode, in which each tab has close button, mode will be applied to the tabs created AFTER command
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
bool - false/true - enable/disable forceLoad(tabId,href)forcing to load tab in question
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
tabId - id of tab in question href - new href, optional getActiveTab()get id of current active tab
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
getLabel(tab)get label of tab
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
tab - id of tab goToNextTab(tab)select tab next to active
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
goToPrevTab(tab)select tab previous to active
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
hideTab(tab,mode)hide tab in tabbar
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
tab - id of tab mode - if set to true, selection jump from current tab to nearest one loadXML(file,afterCall)load tabbar from xml file
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
file - link too XML file afterCall - function which will be called after xml loading loadXMLString(xmlString,afterCall)load tabbar from xml string
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
xmlString - XML string afterCall - function which will be called after xml loading normalize(...)
[professional ]
reformat tabbar to remove tab scrollers
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
preventIECashing(mode)prevent caching in IE by adding random seed to URL string
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
mode - enable/disable random seed ( disabled by default ) removeTab(tab,mode)remove tab from tabbar
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
tab - id of tab mode - if set to true, selection jump from current tab to nearest one setAlign(align)set align of tabs on tabbar
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
align - left/right for gorizontal tabbar, top/bottom for vertical tabbar setContent(id,nodeId)set content of tab
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
id - id of tab nodeId - id of container, or container object setContentHTML(id,html)set content of tab, as HTML string
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
id - id of tab html - html string setContentHref(id,href)set content as a href to an external file
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
href - link too external file setCustomStyle(id,color,scolor,css)set specific colors for specific tab
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
id - id of tab for which setting will be applied color - tab color color - scolor - color in selected state ( optional) css - css class will be attached to text of tab in question setHrefMode(mode)set mode of loading external content
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
mode - href mode - ifram/iframes/ajax setImagePath(path)set path to image folder ( not affect already created element until their state changes )
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
path - path to image folder setLabel(tab,value)set label of tab
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
tab - id of tab value - new label setMargin(margin)set distance between tabs
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
margin - margin value setOffset(offset)set offset before first tab on tabbar
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
offset - offset value setOnLoadingEnd(...)
[Professional ]
set function called after xml loading/parsing ended
Event Name: onXMLLoadingEnd event fired simultaneously with ending XML parsing, new items already available in tabbartabbar object Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.jssetOnSelectHandler(func)set content of tab
Event Name: onSelect event called when any tab selectedid - id of tab Event returns: if false returned the selection abortedObject: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.jsid - id of tab nodeId - id of container, or container object setOnTabClose(func)set function called after tab closed, works only in "closeButton" mode
Event Name: onTabClose event fired imideatly before tab closed by pressing close button, returning false block closingid of tab for which content loaded Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.jsfunc - event handling function setOnTabContentLoaded(...)
[Professional ]
set function called after tab content loaded ( works only for ajax based tabs )
Event Name: onTabLoaded event fired imideatly after tab content loaded and can be accessed through DOMid of tab for which content loaded Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.jssetSize(width,height,contentZone)set control size
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
width - new width height - new height contentZone - if set to true, than width and height set only to content zone setSkinColors(a_tab,p_tab,c_zone)allow to set skin specific color, must be used AFTER selecting skin
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
a_tab - color of activ tab p_tab - color of passive tab c_zone - color of content zone (optional) setStyle(name)set style used for tabbar
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
name - any valid style name setTabActive(tabId,mode)switch tab to active state
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
tabId - id of tab mode - if to run onTabChanged handler (true by default) showTab(tab)show hidden tab in tabbar
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
tab - id of tab tabWindow(tab_id)return window of tab content for iframe based tabbar
Object: dhtmlXTabBarTopic(s): File required: dhtmlxtabbar.js
tab_id - tab id