1) Script Title: Modal window v1.1
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...dhtmlmodal.htm
3) Describe problem: I need help on how to close and reload the parent.
Code:<script type="text/javascript"> function opencat(categoryid){ emailwindow=dhtmlmodal.open('Cats', 'iframe', 'categories-name.cfm?id=' + categoryid, 'Edit Category', 'width=300px,height=100px,center=1,resize=0,scrolling=0') emailwindow.onclose=function(){ window.location.reload() } } </script> Below Button is in the iframe popup window and works fine. <input type="button" onClick="parent.emailwindow.hide()" value="Close this window">



Reply With Quote


Bookmarks