automatic resizing to current tab content

This question has already been answered, but the Download does not work. Please help me too :slight_smile:



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?

Working sample sent by email.
1203961860.zip (58.3 KB)