permaculture playing cards*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60046
    
  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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: disable close button
 
Similar Threads
disable CLOSE (X) button on a popup window
disableing 'x' button
Disabling minimize and maximie button
popup window
pop up in jsp