Well, you can call dhtmlwindow.setSize(w, h), and for the h parameter, use dhtmlmodal.docheightcomplete to get the height of the viewable screen. However, you must also account for the chrome area of the DHTML window, so taking that into account, it might look something like:
Code:
var agreewin=dhtmlmodal.open("agreebox", "iframe", "modalfiles/agreement.htm", "This Page's Terms of service", "width=590px,height=100%,center=1,resize=1,scrolling=0", "recal")
agreewin.setSize(700, dhtmlmodal.docheightcomplete-50)
50 is just an estimate of the chrome's height.
Bookmarks