Re: Why wont it work
by "Louis M Hall" <lhall1(at)midsouth.rr.com>
|
| Date: |
Fri, 3 Oct 2003 19:35:43 -0500 |
| To: |
"David Jones" <dvjones(at)ksbe.edu> |
| Cc: |
"hwg-techniques" <hwg-techniques(at)hwg.org> |
| References: |
localhost |
| |
todo: View
Thread,
Original
|
|
Thanks David and Sietse,
I put the code on a web site with nothing but form pure code. It comes up as a search form for google. There are the two blocks,
"O %(domain)s" and "O%(domain)s" both identical on what comes up. The dot was in the second block and if clicked on there you
get an error, shift it to the first block (one on the left and it works as a search).
I'm doing this for a friend so I do not know much about the other coding at his site, but I thank you all for allowing me to try
to help him.
See:
http://www.geocities.com/loumhall/pccowboy.html"
----- Original Message -----
From: "David Jones" <dvjones(at)ksbe.edu>
To: <hwg-techniques(at)hwg.org>
Sent: Friday, October 03, 2003 6:42 PM
Subject: Re: Why wont it work
> 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.