Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I hide the Maximize/Minimize buttons on a new window.

Status
Not open for further replies.

martindavey

Programmer
Jan 2, 2000
122
GB
Question 1.<br>
<br>
I'm using JavaScript to create a new pop-up password entry window that I would prefer users not to be able to resize.<br>
<br>
The 'resize=no' property for the new window only prevents resizing using the border. I don't want users to be able to resize the window by minimizing or maximizing it.<br>
<br>
Question 2.<br>
<br>
Does anyone know how to make the new window modal? I want them to have to enter or cancel the password form before they can do anything else.<br>
<br>
<br>
Thanks, Martin Davey
 
I seem to have found the answer I'm looking for:<br>
<br>
window.showModalDialog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top