I made a lot of customizations of the dhtmlxscheduler. It works absolutely perfect outside an IFrame. But inside an IFrame it does only load when I resize the browser window. So I tried to raise the resize event by JavaScript. Here is the code of the parent page…
[code]
[/code]
And here some code from the child page…
scheduler.init('scheduler_here',new Date(),"month");
scheduler.load("events.xml");
//Nothing of the following helps :-(
document.fireEvent("onresize");
window.onresize();
window.fireEvent('onresize');
scheduler.onSchedulerResize();
Most probably, on moment of scheduler’s initialization, iframe don’t have yet any positive sizes. ( it has zero width or height, and as result - scheduler has zero sizes as well )
You can try to add style string to iframe tag, with fixed sizes