Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jonathan on Jul 14, 2008 09:54
open dhtmlx forum
DHTML tabbar automatic height detection from Iframe

Hi,

I have tabbar with some specified height and witdht, I load the content via iframes using div's , but I would like to have the height set dinamically depending on the size of the iframe involved, is there a way of know this size and having the height or widht dinamically set ?

Kind regards,
Jonathan
Answer posted by Support on Jul 15, 2008 01:59
The tabbar can adjust its size to fit HTML content ( which may be set directly, or loaded by ajax-html ), but it not possible to auto resize to content which loaded in iframe/iframes mode.
If you know the content of content, you can resize the tabbar ( at any moment ) by calling
    tabbar.setSize(width,height,true);