expandcollaps
addTab(id, text, type, size, position, row)
add tab to TabBar
Object: dhtmlXTabBar
Topic(s): Visual appearence;
File required:dhtmlXTabbar.js
  • id - tab id
  • text - tab content
  • type - reserved
  • size - width(height) of tab
  • position - tab index , optional
  • row - index of row, optional
  • clearAll()
    reinitialize tabbar
    Object: dhtmlXTabBar
    Topic(s): Initialization;
    File required:dhtmlXTabbar.js
    enableContentZone(mode)
    enable/disable content zone (enabled by default)
    Object: dhtmlXTabBar
    Topic(s): Initialization;
    File required:dhtmlXTabbar.js
  • mode - true/false
  • loadXML(file,afterCall)
    load tabbar from xml file
    Object: dhtmlXTabBar
    Topic(s): Initialization;
    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: dhtmlXTabBar
    Topic(s): Initialization;
    File required:dhtmlXTabbar.js
  • xmlString - XML string
  • afterCall - function which will be called after xml loading
  • setAlign(align)
    set align of tabs on tabbar
    Object: dhtmlXTabBar
    Topic(s): Visual appearence;
    File required:dhtmlXTabbar.js
  • align - left/right for gorizontal tabbar, top/bottom for vertical tabbar
  • setContent(id,nodeId)
    set content of tab
    Object: dhtmlXTabBar
    Topic(s): Visual appearence;
    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: dhtmlXTabBar
    Topic(s): Visual appearence;
    File required:dhtmlXTabbar.js
  • id - id of tab
  • html - html string
  • setImagePath(path)
    reinitialize tabbar
    Object: dhtmlXTabBar
    Topic(s): Initialization;
    File required:dhtmlXTabbar.js
  • path - path to image folder
  • setMargin(margin)
    set distance between tabs
    Object: dhtmlXTabBar
    Topic(s): Visual appearence;
    File required:dhtmlXTabbar.js
  • margin - margin value
  • setOffset(offset)
    set offset before first tab on tabbar
    Object: dhtmlXTabBar
    Topic(s): Visual appearence;
    File required:dhtmlXTabbar.js
  • offset - offset value
  • setOnSelectHandler(func)
    set content of tab

    EventName:onClick
    Object: dhtmlXTabBar
    Topic(s): Event Handlers;
    File required:dhtmlXTabbar.js
  • id - id of tab
  • nodeId - id of container, or container object
  • setStyle(name)
    set style used for tabbar
    Object: dhtmlXTabBar
    Topic(s): Initialization;
    File required:dhtmlXTabbar.js
  • name - any valid style name
  • setTabActive(tabId)
    switch tab to active state
    Object: dhtmlXTabBar
    Topic(s): Visual appearence;
    File required:dhtmlXTabbar.js
  • tabId - id of tab
  • setTabBarStyle(name)
    set style of tabs in tabbar
    Object: dhtmlXTabBar
    Topic(s): Initialization;
    File required:dhtmlXTabbar.js
  • name - any of valid tab styles