How to open a window as modal?
843835Mar 12 2002 — edited May 3 2007I have a need to make a child window "modal", thus forcing the user to
close the child window before doing anything else in the application. I
am using the following code to open a new window:
notesWindow = window.open('/Notes.html',z,'width=450,height=350,resizable=no');
window.open does not have an option to make the child window modal.
"resizable=no" disables the maximize button but there is no option to
disable the minimize button either. Can this be done either in the JSP
or the HTML file? I can not use any code that is specific to a certain
browser, such as "toolbar=no" in Netscape.
Any help will be greatly appreciated. Thanks.