Discussion Locked

Closing of IE or Netscape Browser

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
I am looking for a sound solution on the following:
When we launch IE or Netscape, we have the 3 buttons Mimimize, Maximize and Cancel/Close.
When my page gets launched i want to make the
Cancel/Close button greyed out, and the user
should select only my Button or link to close the page.
How can i do it programmatically.
Thanks.

5 replies

by quahsays

function doSmartPop() {
POP = window.open(WhatsNewDoc, "POP", "toolbar=0,location=0,directories=0,status=0,scrollbars=no,resizable=0,copyhistory=0,top=50,left=50,width=600,height=380");
}

this javascript function should do the trick, i'm usingIE, but i recalled netscape also workable (certain version)

by ramkis

I dont want a new pop-up or window.open page. It is the main page itself, where
i need to disable the Close button. The
person should be able to use only my
button which could be a pop-up on
hitting the submit button. Not on a
pop-up.
Thanks.

by quahsays

you could create the following javascript:

then call using :
vvv

yes, this example taken off x-files site, :P

by ramkis

I dont want a new pop-up or window.open page. It is the main page itself, where
i need to disable the Close button. The
person should be able to use only my
button which could be a pop-up on
hitting the submit button. Not on a
pop-up.
Thanks.

This discussion is closed to new replies.