automatic resizing to current tab content

I came across this piece of advice:

dhtmlXTabBar.prototype.adjustSize=function(){

if ((!this._ahdj)&&(!this._awdj)) return;

var flag=false;

var x=0;

var y=0;

for (var id in this._content){



Marked code loop through all existing tabs, you can modify it to
use only current active tab, and call in from OnSelect event handler


- can You give an example, please?

Please check attached sample.

1203961860.zip (58.3 KB)

Works! :slight_smile: This is what I call perfect customer service :slight_smile:

Ahh I’ve been trying this for ages, but the Zip will not download :frowning:

The direct link is
support@dhtmlx.com