Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to open a window as modal?

843835Mar 12 2002 — edited May 3 2007
I 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 31 2007
Added on Mar 12 2002
4 comments
86 views