enableAutoReSize(mode) enable / disable auto adjusting height and width to outer conteiner
File required:dhtmlXTabbar.js
mode - enable/disable
enableAutoSize(autoWidth,autoHeight) enable disable auto adjusting height and width to inner content
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)
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
File required:dhtmlXTabbar.js
mode - true/false
enableScroll(mode)
[Professional]
enable/disable scrollers ( enabled by default )
File required:dhtmlXTabbar.js
mode - true/false
forceLoad(tabId,href) forcing to load tab in question
File required:dhtmlXTabbar.js
tabId - id of tab in question
href - new href, optional
getActiveTab() get id of current active tab
File required:dhtmlXTabbar.js
goToNextTab(tab) select tab next to active
File required:dhtmlXTabbar.js
goToPrevTab(tab) select tab previous to active
File required:dhtmlXTabbar.js
loadXML(file,afterCall) load tabbar from xml file
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
File required:dhtmlXTabbar.js
xmlString - XML string
afterCall - function which will be called after xml loading
setHrefMode(mode) set mode of loading external content
File required:dhtmlXTabbar.js
mode - href mode - ifram/iframes/ajax
setImagePath(path) reinitialize tabbar
File required:dhtmlXTabbar.js
path - path to image folder
setSize(width,height,contentZone) set control size
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
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
File required:dhtmlXTabbar.js
name - any valid style name
Visual appearence
addTab(id, text, size, position, row) add tab to TabBar
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]
disableTab(tab,mode) disable tab in tabbar
File required:dhtmlXTabbar.js
tab - id of tab
mode - if set to true, selection jump from current tab to nearest one
enableTab(tab) enable tab in tabbar
File required:dhtmlXTabbar.js
tab - id of tab
getLabel(tab) get label of tab
File required:dhtmlXTabbar.js
tab - id of tab
hideTab(tab,mode) hide tab in tabbar
File required:dhtmlXTabbar.js
tab - id of tab
mode - if set to true, selection jump from current tab to nearest one
removeTab(tab,mode) remove tab from tabbar
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
File required:dhtmlXTabbar.js
align - left/right for gorizontal tabbar, top/bottom for vertical tabbar
setContent(id,nodeId) set content of tab
File required:dhtmlXTabbar.js
id - id of tab
nodeId - id of container, or container object
setContentHref(id,href) set content as a href to an external file
File required:dhtmlXTabbar.js
href - link too external file
setContentHTML(id,html) set content of tab, as HTML string
File required:dhtmlXTabbar.js
id - id of tab
html - html string
setLabel(tab,value) set label of tab
File required:dhtmlXTabbar.js
tab - id of tab
value - new label
setMargin(margin) set distance between tabs
File required:dhtmlXTabbar.js
margin - margin value
setOffset(offset) set offset before first tab on tabbar
File required:dhtmlXTabbar.js
offset - offset value
setTabActive(tabId) switch tab to active state
File required:dhtmlXTabbar.js
tabId - id of tab
showTab(tab) show hidden tab in tabbar
File required:dhtmlXTabbar.js
tab - id of tab
tabWindow(tab_id) return window of tab content for iframe based tabbar