1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Adding A Google Search

Discussion in 'Web Design & Development' started by Jaymie1989, Oct 10, 2008.

Thread Status:
Not open for further replies.
  1. Jaymie1989

    Jaymie1989 Thread Starter

    Joined:
    Apr 27, 2007
    Messages:
    406
    Hi,

    Im creating my new website and im wanting to add a google seach but not just the basic one, This is the search box that i have Search.JPG

    This is the HTML code that i have so far
    HTML:
    <form method="get" id="searchform" action="http://www.google.com/search" target="_blank">
    						<div>
    							<table class="search">
    							<tr>
    								<td><input type="text" value="" name="s" id="s" /></td>
    								<td style="padding-left: 10px"><input type="image" src="img/button_go.gif" /></td>
    							</tr>
    							</table>
    						</div>
    						</form>
    I would either like it to open the search results on my website or in a new window whichis what its set to at the moment but if i search for e.g Tech it just opens googles search page. I would prefer it to open the results in my website.
     
  2. amanxman

    amanxman

    Joined:
    Mar 28, 2006
    Messages:
    690
    Yeah you need a customised google search to embed into your website to do that. What you have there is a simple link to google's search engine.

    Try this:

    http://www.google.com/coop/cse/

    Cheers
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/758034

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice