Or, just target="_top" in your <form> tag should work...

Pete

----- Original Message -----
From: "Critter" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, October 28, 2002 1:49 PM
Subject: Re: Closing window from inside a frame?


> oi Greg!!
>
> top.window.close() ?
>
> top.window.opener... ?
>
>
> --
> Critz
>  Macromedia Certified Advanced ColdFusion Developer
>  <CFX_BotMaster Network="Efnet"
>        Channel="ColdFusion" Blog="http://blog.ctzc.com";>
>
>
>
>
> ------------------------------------
> Monday, October 28, 2002, 1:39:53 PM, you wrote:
>
> GL> I have a form inside a frameset and after posting the form and
processing
> GL> the data I need to close the window and post back to the "opener".
> GL> I've used this in an action template before after processing a form
> GL> submission and it works nicely. But I'm trying to do a similar thing
inside
> GL> a frameset and it doesn't want to close the window. :-(  Any ideas?
> GL>  <cfoutput>
> GL>  <html>
> GL>  <script language="JavaScript">
> GL>   function closeit() {
> GL>   window.opener.location="index.cfm?fuseaction=members.main";
> GL>   window.close();
> GL>   }
> GL>  </script>
> GL>  </cfoutput>
> GL>  <body onload="closeit()"></body>
> GL>  </html>
>
> GL>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to