Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by jean on Jun 16, 2009 06:22
open dhtmlx forum
dhtmlXTabBar - Tab bar only?

Hi,

Is it possible to have a tab bar only?
I mean: I do not want the content pane; just the tab bar.
Then how do I attach a function to a tab onclick?

Thanks,
Jean.

Answer posted by Alex (support) on Jun 16, 2009 07:41

Hello,

something as follows can be used in this case:

tabbar.enableContentZone(false);

tabbar.attachEvent("onSelect",function(id,lastActiveId){

/*your code here*/

return true

});