Re: Why wont it work

by David Jones <dvjones(at)ksbe.edu>

 Date:  Fri, 3 Oct 2003 13:42:36 -1000
 To:  hwg-techniques(at)hwg.org
 In-Reply-To:  Louie
  todo: View Thread, Original
I ran it through HTML Validator Lite, your action value 
needs to be quoted, as do the href and img scr attribute 
values, and the bgcolor attribute. Also, your value for 
the hidden "cof" should be all on one line, but I don't 
know if that's an attribute of it's travel via email.

After I fixed those, it validated and went fine, except 
that it displays "%(domain)s" by each of the check 
boxes ... 

David
dvjones(at)ksbe.edu

On 3 Oct 2003, at 18:14, 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

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.