Click to See Complete Forum and Search --> : Window Close?
Is there a way to disable the X button in the upper right hand corner of a window? I'm going to have a pop-up that is activated by a link and I want it so the only way they can close the window is by hitting the close button that I put on the page. I want to disable the X button so they can't just simply hit the X button to close the window. Is this possible?
Charles
07-19-2003, 05:52 AM
From time to time I am asked why I disable JavaScript when I browse.
Khalid Ali
07-19-2003, 08:15 AM
if the window is opened using
window.open
then you can set one of IE specific features
fullscreen=yes
in the window properties this will force the window to take up all the screent area without showing title bar,hence no X buttons,
Mind you this could be more annoying then helping users,therefore I will be very carefull suing something like that..
And personally I don't think MS should have implemented this property for windows..