• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Customized window with no x- button  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a JBoss question. Moving to "HTML and JavaScript"...
 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!