SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist spoondevil's Avatar
    Join Date
    Jun 2001
    Location
    Harlow, Essex, UK
    Posts
    426
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Open Google Results in an IFrame

    I am building a home page for my browser containing the info that I need, but am having trouble with a search engine. I want to have Google on the page in a side bar and have the results from this show up in an iframe called "content".

    I will be using the following action in the Google search form <form action="http://www.google.com/search" name="f">. But how do I get it to direct the results to a different frame?

    Never been too good with forms

    Ta
    Ian

  2. #2
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    Parry Sound, ON
    Posts
    725
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HTML Code:
    <form action="http://www.google.com/search" name="f" target="content">
    But Google might not like you for that. They frown on it

  3. #3
    SitePoint Wizard DougBTX's Avatar
    Join Date
    Nov 2001
    Location
    Bath, UK
    Posts
    2,498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by google
    You may not take the results from a Google search and reformat and display them, or mirror the Google home page or results pages on your Web site.
    http://www.google.com/terms_of_service.html

    Up to you whether you break the TOS or not...
    Hello World

  4. #4
    SitePoint Evangelist spoondevil's Avatar
    Join Date
    Jun 2001
    Location
    Harlow, Essex, UK
    Posts
    426
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I wasn't thinking about reformatting their design, I'd go with with DMOZ's Open Directory Project If I wanteed that, I just want it to open in a different frame. Didn't they do a "service" so you can have Google on your web site, or is that a premium [read "pay for"] option?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •