Re: Why wont it work
by Gary Krockover <gary(at)garykrockover.com>
|
Date: |
Fri, 03 Oct 2003 19:18:17 -0500 |
To: |
"hwg-techniques" <hwg-techniques(at)hwg.org> |
References: |
Louie |
|
todo: View
Thread,
Original
|
|
It looks like whatever editor you were using was trying to substitute
values that pertain to your site, or perhaps it's ASP (it looks like to
me). At any rate, below is the same free Google search that you're trying
to implement. Note that you'll have to change the value of "YOUR DOMAIN
NAME" with the actual name of your website:
<!-- SiteSearch Google -->
<FORM method=GET action="http://www.google.com/search">
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif"
border="0" ALT="Google"></A>
</td>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Google Search">
<font size=-1>
<input type=hidden name=domains value="YOUR DOMAIN NAME"><br><input
type=radio name=sitesearch value=""> WWW <input type=radio name=sitesearch
value="YOUR DOMAIN NAME" checked> YOUR DOMAIN NAME <br>
</font>
</td></tr></TABLE>
</FORM>
<!-- SiteSearch Google -->
GK
At 06:14 PM 10/3/2003, Louis M Hall wrote:
>I'm trying to put a google search box on my website.
>They gave me the code to copy and paste. I did but when I
>look at the webpage all I see is the text of the code,
>not the search box. What is wrong? Here is the code.
>
>Much thanks
>
><!-- Search Google -->
><center>
><FORM method=GET action=http://www.google.com/custom>
><TABLE bgcolor=#FFFFFF cellspacing=0 border=0>
><tr valign=top><td>
><A HREF=http://www.google.com/search>
><IMG SRC=http://www.google.com/logos/Logo_40wht.gif border=0 ALT=Google
>align=middle></A>
></td>
><td>
><INPUT TYPE=text name=q size=31 maxlength=255 value="">
><INPUT type=submit name=sa VALUE="Google Search">
><INPUT type=hidden name=cof
>VALUE="S:http://www.domainname.com;AH:center;LH:132;L:http://www.domain
>name.com/images/image.gif;LW:532;AWFID:c69594e7f5d9ca80;">
><input type=hidden name=domains value="domainname.com"><br><input
>type=radio name=sitesearch value=""> %(domain)s <input type=radio
>name=sitesearch value="domainname.com" checked> %(domain)s
></td></tr></TABLE>
></FORM>
></center>
><!-- Search Google -->
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA