Here is a typical command to allow what you want:
Code:
document.getElementById('interVeil').onclick = function(){
agreewin.hide(document.getElementById('agreebox'), true);
};
It should follow the declaration (example below), where agreewin is the variable name to which the instance of dhtmlwindow was assigned and agreebox the id assigned for the the window that would be opened:
Code:
var agreewin=dhtmlmodal.open("agreebox", "iframe", "modalfiles/agreement.htm", "This Page's Terms of service", "width=590px,height=450px,center=1,resize=1,scrolling=0", "recal")
Notes: If you have an onclose defined for the dhtmlwindow, if it returns false, it will prevent the above from working. Also, if you have more than one dhtmlwindow, things could get a bit messed up, but a more complex command could probably be devised to handle that.
As to your second question, I'm pretty sure that will be coming, but cannot say for sure.
Bookmarks