aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Customized window with no  x- 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 "Customized window with no  x- button" Watch "Customized window with no  x- button" New topic
Author

Customized window with no x- button

Manoj Rawat
Greenhorn

Joined: Feb 10, 2006
Posts: 1
Hi!!! All

I want to show a customized window which will show some data but in that window i wants to hide the the x-button(user is not allowed to close the window with x-button, for that i have given i log out button in the window itself).
Currently i'm calling JSP page with showModalDialog() and have put some code if user accidently close the window by clicking x-button like onBeforeonload(). but the problem is, the code is not working for netscape and opera.

thnx in advance for the suggestion

Regards
Manu
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Not a JBoss question. Moving to "HTML and JavaScript"...


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
what you can do, is to show 2 divs instead of new browser window.
One is transparent and covers the whole document to make it all "disabled", another one in the middle of a page, on top of first one for user to enter information.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Customized window with no x- button