I think the reasoning is that "upbar" is not something that the popup
is called in the DOM rather it is a var that is defined as that
window. So when you go to close it in the non-opening page that upbar
isn't defined thus it doesn't know how or what to close.

Don't really know your solution since browsers get pretty picky on
allowing other windows to close other windows for security reasons.
You might need to rethink what you are doing and use something like a
Modal window or something.



J.J.



On Fri, Dec 19, 2008 at 12:34 PM, Robert Harrison
<rob...@austin-williams.com> wrote:
> I'm opening a popup on one page and want to close it on another page.
>
> I'm opening it with this:
>
>        function progressWindow()
>        {
>         upbar = window.open("fileupload.htm",
> "upbar","status=1,scrollbars=no,resizable=no,width=320,height=130,top=280,le
> ft=380");
>        }
>
> Trying to close it with this:
>
>        function closepopup()
>        {
>         if(false == upbar.closed)
>         {
>                    upbar.close ();
>         }
>        }
>
> This works if I open and close it on the same page, but it does not work
> across pages. Anyone see what I'm doing wrong?
>
>
>
> Robert B. Harrison
> Director of Interactive services
> Austin & Williams
> 125 Kennedy Drive, Suite 100 Hauppauge NY 11788
> T : 631.231.6600 Ext. 119
> F : 631.434.7022
> www.austin-williams.com
>
> Great advertising can't be either/or... It must be &.
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:317014
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to