PDA

View Full Version : supressing window.close message box


object_a
06-28-2002, 07:18 PM
Is there a way to suppress The automatic message box that pops up in IE when a window is closed ('The Web Page you are viewing is trying to close The widow. Do you want to close this window')? Or, is there a way to effect a window close onClick without triggering this message?

Quiet Storm
06-28-2002, 07:21 PM
<HEAD>

<OBJECT id=closes type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM NAME="Command" VALUE="Close"></OBJECT>

</HEAD>
<BODY>

<A HREF="#" onClick="closes.Click();">

</BODY>

object_a
06-28-2002, 07:29 PM
thank you Quiet Storm