I have a form inside a frameset and after posting the form and processing
the data I need to close the window and post back to the opener.
I've used this in an action template before after processing a form
submission and it works nicely. But I'm trying to do a similar thing inside
a frameset and
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
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
How can I close a window using javascript without having to click on a link
or button?
After my CF code runs I want the window to close.
+---+
Philip Humeniuk
[EMAIL PROTECTED]
[EMAIL PROTECTED]
window.close();
Anthony Petruzzi
Webmaster
954-321-4703
http://www.sheriff.org
-Original Message-
From: phumes1 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 1:17 PM
To: CF-Talk
Subject: Re: Closing window
How can I close a window using javascript without having to click
Within a onRequestEnd.cfm file
Place
script
window.close();
/script
__
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ:
-Talk
Subject: Re: Closing window
How can I close a window using javascript without having to click on a
link
or button?
After my CF code runs I want the window to close.
+---
+
Philip Humeniuk
[EMAIL PROTECTED
HTH.
--
SCOTT VAN VLIET
SENIOR ANALYST
SBC SERVICES, INC
Tel: 858.886.3878
Fax: 858.653.6763
Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
-Original Message-
From: phumes1 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 10:17 AM
To: CF-Talk
Subject: Re: Closing
oi phumes1!!
at the end of your page after your cf processing just put
script
self.close()
/script
--
Critz
Certified Adv. ColdFusion Developer
Crit[s2k] - CF_ChannelOP Network=Efnet Channel=ColdFusion
-
Wednesday, March 27, 2002, 1:17:04 PM,
Without using Javascript or another client side language? You can't.
You could manually close the window or have a client event trigger some
other process.
Good Fortune,
Richard Walters,
Webmaster, Davita Laboratory Services
[EMAIL PROTECTED]
(800) 604-5227 x 3525
[EMAIL PROTECTED]
Disregard this.. I read your question incorrectly.
Good Fortune,
Richard Walters,
Webmaster, Davita Laboratory Services
[EMAIL PROTECTED]
(800) 604-5227 x 3525
[EMAIL PROTECTED] 03/27/02 01:19PM
Without using Javascript or another client side language? You can't.
You could manually close
Thats cool but whats the advantage of putting this code in the
onrequestend.cfm instead on my file.cfm?
If I have other templates in the same directory that I don't want closed I
should put the window.close only in the files that I want, right?
At 06:14 PM 3/27/2002 +, you wrote:
Within a
oi Neil!!
wouldn't that execute that bit of code on EVERY page in the app then?
--
Critz
Certified Adv. ColdFusion Developer
Crit[s2k] - CF_ChannelOP Network=Efnet Channel=ColdFusion
-
Wednesday, March 27, 2002, 1:14:49 PM, you wrote:
NCT Within a
Well, if you want it to be actioned DEFINITELY at the end of the server
call, use OnRequestEnd.cfm. Your page will effectively action the close
window before the server call has ended.
N
__
This list and all House of Fusion
Good point! :-) sorry, I think it works directory by directory...
I have had a bad day, and to top it all off my 2nd monitor just blew up!
Uurgh
Neil
__
Get the mailserver that powers this list at http://www.coolfusion.com
15 matches
Mail list logo