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.
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.