i would use a javascript function to open the window and subsequently c
lose
itself. If there are any URLs in the history of a window it cannot c
lose,
with javascript, without a prompt (up to IE 5.5 and NS 4.7). I'm
not sure
about version 6s.
Savan
"Macarie Neculai" <[EMAIL PROTECTED]> on 02/27/2002 11:25:31 PM
Please respond to [EMAIL PROTECTED]
To: CF-Talk <[EMAIL PROTECTED]>
cc:
Subject: Re: Closing a window from JS without prompt?
Hi!
As far as I know you cannot close a parent window from a child, but
I
think you can try something like this:
1. call setTimeout(closeFunction, 2000)
2. open the child window from the parent
3. in closeFunction you close your parent window and I think you get
no
confirmation promt.
HTH,
Mack
----- Original Message -----
From: "Shawn Grover" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 11:04 AM
Subject: OT: Closing a window from JS without prompt?
> I'm looking for ideas on how to close a Parent window from Javascript
> without getting the confirmation prompt.
> We don't have an issue with any child windows, but we open an interfa
ce
to
> our app then want to close the original window without the prompt.
>
> Any tips? Thanks in advance.
>
> Shawn Grover
>
______________________________________________________________________
Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists