• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

Outputting Coldfusion into frames

Greetings:

I am trying to do the same thing this website here is doing: http://www.globalresponse.org/search.php?querystring2=guana+cay&query2=searchall&submit2=Search

We need a header file to show up on the top frame and the results show on the bottom. Any suggestions doing this in coldfusion would be great. I am using ColdFusion Server Enterprise 7.

Thanks!
0
amerdre
Asked:
amerdre
2 Solutions
 
mrichmonCommented:
There is no differnce for how to do this in cold fusion than any other language.  It is just normal HTML frames.

Here is a tutorial:
http://www.w3schools.com/html/html_frames.asp
0
 
SidFishesCommented:
well if you are trying to do -exactly- what that url is doing, you can't legally (afaik)

http://www.google.com/terms_of_service.html

" No Automated Querying

You may not send automated queries of any sort to Google's system without express permission in advance from Google. Note that "sending automated queries" includes, among other things:

    * using any software which sends queries to Google to determine how a website or webpage "ranks" on Google for various queries;
    * "meta-searching" Google; and
    * performing "offline" searches on Google."

you can do similar things  if allowed by sites using cfhttp without even using frames...


<body>
This is my header stuff
<hr>
<cfhttp      method="get" url="www.someurlthatallowsthistypeofthing.com>
</cfhttp>
#cfhttp.fileContent#
</body>


but again...many, many sites prohibit this and you'd need to read the terms of use notice carefully to avoid being in violation







0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now