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
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to