File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes pop up in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "pop up in jsp" Watch "pop up in jsp" New topic
Author

pop up in jsp

Sujittt Tripathyrr
Ranch Hand

Joined: Jun 21, 2006
Posts: 96
Hi

I create a popup window in jsp and i have a requirement that i have to disable the close button of the popup window because i have a close button in the popup html itself .

Thanks in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61451
    
  67

This is completely a client-side issue. Moved to the HTML forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Prasad Babu
Ranch Hand

Joined: Jul 17, 2005
Posts: 57
Hi Sujittt,

Its impossible because browser window works on MFC. Javascript works on HTML DOM. Please search like 'close X button' in this forum you can find out alternative solution.

With regards,
Prasad
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10240
    
168

How are you creating the popup? Are you using window.createPopup(). If not, post the code through which you are creating the popup


[My Blog] [JavaRanch Journal]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can not diable or remove the x in a pop up window. What you would have to do is use a layer (div) on top of the page (z-Index)with an iframe so the user can not remove it.

Eric
 
Consider Paul's rocket mass heater.
 
subject: pop up in jsp