aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes disable close button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "disable close button" Watch "disable close button" New topic
Author

disable close button

jyothsna kumari
Ranch Hand

Joined: Jul 21, 2003
Posts: 108
hai,
can we disable the close button on the window using JSP code.
if yes,please let me know as i have to show a pop up window for sometime and should not allow user to close it.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You are either going to have to use a modal dialog box(IE only) or layers. You can not disable the close button or any other method to close the window.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60082
    
  65

You can not disable the close button or any other method to close the window.

and thank goodness for that!
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: disable close button
 
Similar Threads
popup window
disableing 'x' button
Disabling minimize and maximie button
pop up in jsp
disable CLOSE (X) button on a popup window