CFlocation returns a redirect header instead of the content of the page.
If you need to redirect the page after creating a popup (you'd better be
using this power for good, not evil, btw) you should consider using a
JavaScript redirect instead.
-- Ben Doom
Programmer & General Lackey
Moonbow Software, Inc
: -----Original Message-----
: From: Gabriel Robichaud [mailto:[EMAIL PROTECTED]
: Sent: Tuesday, September 16, 2003 11:06 AM
: To: CF-Talk
: Subject: RE: javascript and page processing - clarify
:
:
: >so my js popup doesnt popup. How can i make sure it pops up?
:
: actually, what i should have said, is there is a cflocation that calls a
: template and i think because of that my popup doesnt happen,
: because when i
: cfabort the page before the cflocation, the popup happens.
:
: -----Original Message-----
: From: Gabriel Robichaud [mailto:[EMAIL PROTECTED]
: Sent: September 16, 2003 11:03 AM
: To: CF-Talk
: Subject: javascript and page processing
:
:
: Hey folks
:
: i am having popup issues
:
: <cfif createodbcdatetime(form.fldLoadDateN) gt dtLastUpdate>
: <cfset updateRecord="Y">
: <cfelse>
: <cfset updateRecord = "N">
: <script language="JavaScript">
: window.open('SomeFile.cfm',
: 'noChange',
: 'resizable=no,toolbar=no,location=no,directories=no,status=no,menu
: bar=no,scr
: ollbars=no,width=300,height=199,top=50,left=50');</script>
: </cfif>
:
: ok... i have a cflocation at the bottom of the page that
: generates this...
:
:
:
:
:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm