Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by stevo on Feb 25, 2008 04:22
open dhtmlx forum
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?
Answer posted by Support on Feb 25, 2008 09:46
Please check attached sample.
Attachments (1)
Answer posted by Stevo on Feb 25, 2008 10:02
Works! :) This is what I call perfect customer service :)
Answer posted by Steveonz on Sep 10, 2008 20:12
Ahh I've been trying this for ages, but the Zip will not download :(
Answer posted by Support on Sep 11, 2008 02:44
The direct link is
    http://dhtmlx.com/docs/products/kb/php/knowledgebase_ajaxaction.php?action=downloadAttach&link=tDqP07zj98mJnBwe&etc=1221127403593
If you still have problems - please contact us directly at support@dhtmlx.com