The html 4.0 <FORM> element allows a "target" attribute; if you set it to
"_blank", the action page will open in a new window.

At the top of the new page, include

<SCRIPT language="javascript">
        opener.location.href = "<successpage name>";
</SCRIPT>

-----Original Message-----
From: Mark Smeets [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 9:06 PM
To: CF-Talk
Subject: RE: cfhttpparam results in a popup window


Sorry for not clarifying, they activate it via form.

Maybe you can elaborate on the solution, my javascript knowledge is somewhat

lacking.

Thanks
--------------------------------------------
Date: Fri, 09 Mar 2001 09:17:30 -0600
From: "Hayes, David" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: RE: cfhttpparam results in a popup window
Message-ID: 
<[EMAIL PROTECTED]>

How is the user activating the search of the other site?  If it's a link (or
a form post), you can set the target to a new window.

In the page that loads in the new window, you could include some javascript
like

opener.location.href = "successpage.cfm".

-----Original Message-----
From: Mark Smeets [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 9:11 PM
To: CF-Talk
Subject: cfhttpparam results in a popup window


Here's what I want to do but I'm having no luck doing this.

I have a page which searches another website and returns its results in my
own website (gotta love that cfhttp) now unfortunately the design for this
site (the site I am searching) doesn't fit in my website at all, so I want
to return the results in a popup window.

This hasn't proven to be easy, in fact after messing with it, I'm pretty
much lost.

Basically 2 things have to happen. The results are returned in a popup
window and then you're taken to a "success" page, or something like a
success page (haven't decided on it's content but it's a page none the less)

Any solution is appreciated.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to