Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedded pages in coldfusion using cflocation

Status
Not open for further replies.

countdrak

Programmer
Jun 20, 2003
358
US
Hi,

Does anyone know how I can use an embedded window in my orginal window using cflocation. Is it even possible?

Ok I am gonna be more elaborate. I am trying to cflocate to a new page, but I dont want the new page to show up in the same window, I want the new page to be embedded in my original page. Anyone know how I can accomplish this either with cflocation or some other tag.

Thanks.
 
imbeded? you mean you want the results in the original page or you want to use an i-frame?

either way No it's not as easy as just using CF location



Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1952-2001)
 
I have never used an i-frame. I want the results in my original page so say my orginal page is /index.cfm

If I cflocate to I wanna show google.com embedded in my index.cfm. So I see both pages but one inside the other (google.com inside index.cfm)

Ok so its not easy. Whats the hard way of doing it? Any ideas. Thanks
 
you want to cfinclude google.com? what he's describing is a frame behavior and this thread is 9 months old.

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
And, actually, cfhttp is probably what he wanted. (-:



Hope This Helps!

ECAR
ECAR Technologies, LLC

"My work is a game, a very serious game." - M.C. Escher
 
use cfhttp to get the google page and stick it in a scrolling div... yeah that would work as long as it's a page that doesn't have any interaction. Images maybe...

Only problem is any links or form submissions would make the user leave the "host" website. An I-frame would maintain the window.

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
Not only that, but if you try to include a page like bbc.uk, there's Javascript that whacks your frame and reloads the requested page into the parent. Not exactly what you'd intend.

Phil Hegedusich
Senior Programmer/Analyst
IIMAK
-----------
I'm not as think as you confused I am.
-----------
Flabbergasted (a.): Amazed at how much weight one has gained.
-----------
Oyster (n.): One who sprinkles their conversation with Yiddish expressions.
 
TT does the same thing. or did a few years ago...

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top