Location: PHPKode > projects > SolidState Billing > SolidState0.5.50B/include/dhtmlxTabbar/doc/tgroup.html
<?xml version="1.0" encoding="utf-8"?><div style="position:absolute;right:20px">
	<a href="javascript:void(0)" onclick="expandAll(true)">expand</a>
	<a href="javascript:void(0)" onclick="expandAll(false)">collaps</a></div>
		<script type="text/javascript"><!--
		
			function openFull(el){
				el.nextSibling.style.display == 'none' ? el.nextSibling.style.display='block' : el.nextSibling.style.display='none';
			}
			function expandAll(fl){
				var elAr = document.getElementsByTagName("DIV");
				for(var i=2; i < elAr.length; i++){
					if(elAr[i].style.display=='none' || elAr[i].block_fl){
						elAr[i].block_fl = true;
						if(fl)
							elAr[i].style.display = "";
						else
							elAr[i].style.display = "none";
					}
				}
			}

				
		--></script>
		<style type="text/css">
			body {font-family:arial;}
			h2 {cursor:pointer;font-size:16px;margin-left:10px;line-height:10px}
			h3 {cursor:pointer;font-weight:normal;color:gray;text-decoration:underline;line-height:10px}
			div.block {margin-left:30px;}
		</style>
				<h2 onclick="openFull(this)">dhtmlXTabBar object API</h2><div class="block" style="display:show;"><h3 onclick=" openFull(this)">Initialization</h3><div class="block" style="display:none;"><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">clearAll()<br /><strong style="color:#6c6c6c;font-size:12px">reinitialize  tabbar</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">enableAutoReSize(mode)<br /><strong style="color:#6c6c6c;font-size:12px">enable / disable auto adjusting height and width   to outer conteiner</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">mode - enable/disable</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">enableAutoSize(autoWidth,autoHeight)<br /><strong style="color:#6c6c6c;font-size:12px">enable disable auto adjusting height and width   to inner content</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">autoWidth - enable/disable auto adjusting width</li><li type="circle">autoHeight - enable/disable auto adjusting height</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">enableContentZone(mode)<br /><strong style="color:#6c6c6c;font-size:12px">enable/disable content zone (enabled by default)</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">mode - true/false</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">enableForceHiding(mode)<br /><strong style="color:#6c6c6c;font-size:12px">enable/disable force hiding mode, solves IE problems with iframes in HTML content, but can cause problems for other dhtmlx components inside tabs</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">mode - true/false</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">enableScroll(mode)
					[<span style="color:red;">Professional</span>]
				<br /><strong style="color:#6c6c6c;font-size:12px">enable/disable scrollers ( enabled by default )</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">mode - true/false</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">forceLoad(tabId,href)<br /><strong style="color:#6c6c6c;font-size:12px">forcing to load tab in question</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">tabId - id of tab in question</li><li type="circle">href - new href, optional</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">getActiveTab()<br /><strong style="color:#6c6c6c;font-size:12px">get id of current active tab</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">goToNextTab(tab)<br /><strong style="color:#6c6c6c;font-size:12px">select tab next to active</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">goToPrevTab(tab)<br /><strong style="color:#6c6c6c;font-size:12px">select tab previous to active</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">loadXML(file,afterCall)<br /><strong style="color:#6c6c6c;font-size:12px">load tabbar from xml file</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">file - link too XML file</li><li type="circle">afterCall - function which will be called after xml loading</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">loadXMLString(xmlString,afterCall)<br /><strong style="color:#6c6c6c;font-size:12px">load tabbar from xml string</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">xmlString - XML string</li><li type="circle">afterCall - function which will be called after xml loading</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setHrefMode(mode)<br /><strong style="color:#6c6c6c;font-size:12px">set mode of loading external content</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">mode - href mode - ifram/iframes/ajax</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setImagePath(path)<br /><strong style="color:#6c6c6c;font-size:12px">reinitialize  tabbar</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">path - path to image folder</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setSize(width,height,contentZone)<br /><strong style="color:#6c6c6c;font-size:12px">set control size</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">width - new width</li><li type="circle">height - new height</li><li type="circle">contentZone - if set to true, than width and height set only to content zone</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setSkinColors(a_tab,p_tab,c_zone)<br /><strong style="color:#6c6c6c;font-size:12px">allow to set skin specific color, must be used AFTER selecting skin</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">a_tab - color of activ tab</li><li type="circle">p_tab - color of passive tab</li><li type="circle">c_zone - color of content zone  (optional)</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setStyle(name)<br /><strong style="color:#6c6c6c;font-size:12px">set style used for tabbar</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">name - any valid style name</li> </div></div><h3 onclick=" openFull(this)">Visual appearence</h3><div class="block" style="display:none;"><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">addTab(id, text, size, position, row)<br /><strong style="color:#6c6c6c;font-size:12px">add tab to TabBar</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">id - tab id</li><li type="circle">text - tab content</li><li type="circle">size - width(height) of tab</li><li type="circle">position - tab index , optional</li><li type="circle">row - index of row, optional  [only in PRO version]</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">disableTab(tab,mode)<br /><strong style="color:#6c6c6c;font-size:12px">disable tab in tabbar</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">tab - id of tab</li><li type="circle">mode - if set to true, selection jump from current tab to nearest one</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">enableTab(tab)<br /><strong style="color:#6c6c6c;font-size:12px">enable tab in tabbar</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">tab - id of tab</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">getLabel(tab)<br /><strong style="color:#6c6c6c;font-size:12px">get label of tab</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">tab - id of tab</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">hideTab(tab,mode)<br /><strong style="color:#6c6c6c;font-size:12px">hide tab in tabbar</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">tab - id of tab</li><li type="circle">mode - if set to true, selection jump from current tab to nearest one</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">removeTab(tab,mode)<br /><strong style="color:#6c6c6c;font-size:12px">remove tab from tabbar</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">tab - id of tab</li><li type="circle">mode - if set to true, selection jump from current tab to nearest one</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setAlign(align)<br /><strong style="color:#6c6c6c;font-size:12px">set align of tabs on tabbar</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">align - left/right for gorizontal tabbar, top/bottom for vertical tabbar</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setContent(id,nodeId)<br /><strong style="color:#6c6c6c;font-size:12px">set content of tab</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">id - id of tab</li><li type="circle">nodeId - id of container, or container object</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setContentHref(id,href)<br /><strong style="color:#6c6c6c;font-size:12px">set content as a href to an external file</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">href - link too external file</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setContentHTML(id,html)<br /><strong style="color:#6c6c6c;font-size:12px">set content of tab, as HTML string</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">id - id of tab</li><li type="circle">html - html string</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setLabel(tab,value)<br /><strong style="color:#6c6c6c;font-size:12px">set label of tab</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">tab - id of tab</li><li type="circle">value -  new label</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setMargin(margin)<br /><strong style="color:#6c6c6c;font-size:12px">set distance between tabs</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">margin - margin value</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setOffset(offset)<br /><strong style="color:#6c6c6c;font-size:12px">set offset before first tab on tabbar</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">offset - offset value</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setTabActive(tabId)<br /><strong style="color:#6c6c6c;font-size:12px">switch tab to active state</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">tabId - id of tab</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">showTab(tab)<br /><strong style="color:#6c6c6c;font-size:12px">show hidden tab in tabbar</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">tab - id of tab</li> </div><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">tabWindow(tab_id)<br /><strong style="color:#6c6c6c;font-size:12px">return window of tab content for iframe based tabbar</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">tab_id - tab id</li> </div></div><h3 onclick=" openFull(this)">Event Handlers</h3><div class="block" style="display:none;"><div style="margin-top:5px;font-weight:bold;cursor:pointer;" onclick="openFull(this)">setOnSelectHandler(func)<br /><strong style="color:#6c6c6c;font-size:12px">set content of tab</strong><br /></div><div style="display:none;margin-left:20px;font-size:12px"><br /><fieldset><legend>Event</legend><em style="color:blue;">Name:</em>onClick<br />event called when any tab selected<li type="square">id - id of tab</li><br /><em style="color:blue;">Event returns:</em>if false returned the selection aborted</fieldset><br /><em style="color:blue;">File required:</em>dhtmlXTabbar.js<li type="circle">id - id of tab</li><li type="circle">nodeId - id of container, or container object</li> </div></div></div>
Return current item: SolidState Billing