It's not possible as far as I can tell. I did a bunch of research on this yesterday. FF2 implemented a setting to disallow scripts to close windows. Go to about:config and search for dom.allow_scripts_to_close_windows and you'll see it's set to false by default. Since you can't use javascript to change that, I don't think it's possible. If you find a way, I'd LOVE to hear about it because I use this kind of thing frequently.
Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 Robert Harrison wrote: > I have the following function that opens a popup window on a CF condition > being true and closes the window on page unload. This works fine in IE and > Chrome. But Firefox does not close the window on page unload. > > Anyone have any ideas? > > Thanks > > > <script language="JavaScript" type="text/javascript"> > function progressWindow() { > upbar = > window.open("fileupload.htm","upbar","status=1,scrollbars=no,resizable=no,wi > dth=320,height=130,top=280,left=380"); > } > > function closeprogressWindow() { > if(false == upbar.closed) > { > upbar.close (); > } > } > </script> > > <body onunload="closeprogressWindow()"> > > > Robert B. Harrison > Director of Interactive Services > Austin & Williams > 125 Kennedy Drive, Suite 100 > Hauppauge NY 11788 > P : 631.231.6600 Ext. 119 > F : 631.434.7022 > http://www.austin-williams.com > > Great advertising can't be either/or. It must be &. > > Plug in to our blog: A&W Unplugged > http://www.austin-williams.com/unplugged > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320321 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4