How to create a non closable window?

Hi,

Is there a property/options to make a window non closable by the user using the mouse to click on the "X" in the upper right corner of the window?

I use the following code to create the window:

   var res = window.open("","win_res","height=360,width=250,resizable=no,scrollbars=yes,left=375,top=195");

Thanks
AlainBAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hatecaplettersCommented:
short version : NO

long version : the X is an integrated part of the titlebar, and that one HAS to be there (or maybe it doesn't , but you can't remove it, or setup a window without it)

hatecapletters
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ThaSmartUnoCommented:
well you can move the window to a higher height .... but other than that ... its like what hatecapletters said
0
HolySpiritCommented:
AlainB,
If the client of your web page aren't smart enough, u can use kiosk mode (IE only)(set "fullscreen = yes" in second parameter of open() function) to do this trick, user can only close this kind of mode by ALT-F4, or press a button that u have provided to them, and i think u can try this out.
-- Holy Spirit
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.