File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Popup window close button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Popup window close button" Watch "Popup window close button" New topic

Popup window close button

sridhar lakka
Ranch Hand

Joined: Jan 02, 2007
Posts: 109
Hi All,
Thanks in advance.
From my main page we are opening one pop-up window, and I want to disable the close (X)button of that window.
Please help me.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

What if the user wants to close the window?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
You can not disable the close button.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63846

Thank goodness.

[Asking smart questions] [About Bear] [Books by Bear]
sridhar lakka
Ranch Hand

Joined: Jan 02, 2007
Posts: 109
I will provide a button to close the window.
I agree. Here's the link:
subject: Popup window close button
It's not a secret anymore!