Hi,
Question is how to force document.body.offsetWidth to be value different from 0.
I am using component of third part on plain html page which is placed to tabbar. This component is waitting for document.body.offsetWidth different to 0.
It is working first time but second time there is empty place (no reloading is done).
I am loading setting from file:
this.loadTabbarXML = function(xmlFileName) {
this.tabbar.clearAll();
this.tabbar.loadXML(xmlFileName, function() { Layout.translateTabbar(); });
}
These are used for initialization:
this.tabbar = this.layout.cells(“a”).attachTabbar();
this.tabbar.setImagePath("…/…/…/codebase/imgs/");
this.tabbar.enableForceHiding(true);
Setting of active tab:
this.tabbar.setTabActive(newTabId);
Thanks