enableAutoSize not working for hrefmode="iframes-on-demand"

Hi,

I am having many tabs in my page and each tab is loaded on click using hrefmode=“iframes-on-demand”. I want the tab to adjust its size according to the content. But it shows a small empty area. How can the enableAutoSize be made to work for iframes-on-demand? Please help me on this. Thank you in advance.

Hello,

enableAutoSize method can’t be used with iframe-based loading. The size of the iframe content can be got only after the page inside iframe is completely loaded. And moreover if page is loaded from another domain, it’s impossible to access its content at all.
So, it’d be better to set fixed sized for the tabbar.