Yeah, probably...
Anyway, not anything I'd use, not that nice to the users closing their
only/main window without a warning.
So many poor users out there would really have to suffer...
/Robert
-----Ursprungligt meddelande-----
Fr=E5n: Roy Koczela [mailto:rkoczela@a...]
Skickat: den 4 december 2002 22:30
Till: javascript
=C4mne: [javascript] RE: SV: RE: SV: Re: window.close()
I'm guessing this won't work unless you actually have the object being
referenced, whatever the heck it is, installed on your machine.
-----Original Message-----
From: Robert Nyman [mailto:robert.nyman@c...]
Sent: Wednesday, December 04, 2002 9:12 AM
To: javascript
Subject: [javascript] SV: RE: SV: Re: window.close()
It doesn't work for IE 6 for me...
/Robert
-----Ursprungligt meddelande-----
Fr=E5n: Boloian, John [mailto:jboloian@u...]
Skickat: den 4 december 2002 18:02
Till: javascript
=C4mne: [javascript] RE: SV: Re: window.close()
I notice it works for IE6, but not IE 4 through 5.5.
-----Original Message-----
From: Robert Nyman [mailto:robert.nyman@c...]
Sent: Wednesday, December 04, 2002 11:49 AM
To: javascript
Subject: [javascript] SV: Re: window.close()
This is not working...
/Robert
-----Ursprungligt meddelande-----
Fr=E5n: yohomonkey [mailto:yohohuangtao0425@s...]
Skickat: den 4 december 2002 12:32
Till: javascript
=C4mne: [javascript] Re: window.close()
add this cord in you html :
<OBJECT id=3Dcloses type=3D"application/x-oleobject"
classid=3D"clsid:adb880a6- d8ff-11cf-9377-00aa003b7a11"> <param
name=3D"Command" value=3D"Close"> </object> <input type=3D"button"
value=3D"click me to close window!" onclick=3D"closes.Click();">
> > when I try to close the window using "window.close()", I got prompt
>> message "... Do you want to close this window?". How can I get rid
>> of this message.
> the parent window needs the following
> PARENT________________________________
> <script language=3D"JavaScript1.2">
> open("test.htm","new","width=3D800,height=3D600");
> window.opener=3D"self";
w> indow.close();
> </script>
_> _____________________________________
t> his will work in both netscape 4+ and IE6+ as far as I can tell
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to