Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Doug Smith on Jun 11, 2008 13:47
open dhtmlx forum
I would like the active tab to be the same size as the inactive tabs

Hi,

I'd like to know if there is any way to stop the active tab "expanding" to a larger size than the inactive tabs. Really I'd like the active tab to change colour, but other than that to remain the same as the other tabs. Images are the same size for both active and inactive tabs.

Regards

Doug
Answer posted by Support on Jun 12, 2008 07:12
The behavior hard-coded in dhtmlxtabbar.js and can be changed only by code modification

dhtmlxtabbar.js , line 908

dhtmlXTabBar.prototype._setTabActive=function(tab,mode){
....
tab.style[this._align=="right"?"marginBottom":"marginTop"]="-3px"; // just comment this line to disable behavior