One approach is to dynamically resize the DHTML window after the contained page has loaded, by getting the dimensions of this page. This has only been tested in FF so far, but inside dhtmlwindow.js, try adding the code in red below after the following existing line:
Code:
window.frames["_iframe-"+t.id].location.replace(contentsource) //set location of iframe window to specified URL
this.addEvent(window.frames["_iframe-"+t.id], function(){
try{
var wbody=this.document.body
t.setSize(wbody.offsetWidth, wbody.offsetHeight)
} catch(e){}
}, "load")
Bookmarks