Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Don Bohn on Nov 06, 2008 11:33
open dhtmlx forum
Tab Tooltip

How do you set a tool tip (tooltip) on a tab?

I would expect something like the following:
HTML:
<div id="tabbar" class="dhtmlxTabBar" style="width:100%; height:300px;">
<div id="tab1" name="Tab 1" tooltip="View contents of Tab 1">
Tab 1 Contents
</div>
</div>

XML:
<?xml version="1.0"?>
<tabbar>
    <row>
     <tab id="tab1" tooltip="View contents of Tab 1">Tab 1</tab>
    </row>
</tabbar>

JavaScript:
tabbar.setTooltip( "tab1", "View contents of Tab 1" );

Thanks for your consideration.
Answer posted by Support on Nov 10, 2008 01:09
You can use any HTML as tab label. For example, inline div tag is a way to set title for a tab:

<div id="tab1" name="<div title='View contents of Tab 1'>Tab 1</div>">Tab 1 Contents</div>