Forum Moderators: martinibuster
1) CAPITAL LETTERS
2) Lack of quote marks around values
3) <td> </td>
4) <font size=-1>
What's all that about?
It's like falling through a timewarp.
I changed Google's version:
<!-- SiteSearch Google -->
<FORM method=GET action='http://www.google.com/custom'>
<TABLE bgcolor='#FFFFFF'>
<tr><td nowrap='nowrap' valign='top' align='center' height='32'>
<A HREF='http://www.google.com/'>
<IMG SRC='http://www.google.com/logos/Logo_25wht.gif'
border='0' ALT='Google'></A>
</td>
</tr>
<tr>
<td> </td><td>
<input type=hidden name=domains value='mysite.com'><INPUT TYPE=text name=q size=31 maxlength=255 value=''>
<INPUT type=submit name=sa VALUE='Search'>
<br/><font size=-1>
<input type=radio name=sitesearch value=''> Web
<input type=radio name=sitesearch value='mysite.com' checked>mysite.com
<br/>
</font>
<input type=hidden name=cof value='LOADSACODE'>
<input type=hidden name=hl value='en'></td></tr></TABLE>
</FORM>
<!-- SiteSearch Google -->
A word to the wise, don't cut and paste this, firstly your site isn't called mysite.com and secondly it won't work without the "LOADSACODE" which was about three lines of code which I removed
into this:
<!-- SiteSearch Google -->
<form method="get" id="search" action="http://www.google.com/custom">
<a href="http://www.google.com/"><img style="background:#fff;" src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google"></a><br />
<label for="q">SiteSearch</label>
<input type="hidden" name="domains" value="mysite.com">
<input type="text" name="q" id="q" size="12" maxlength="255" value="">
<input type="submit" name="sa" value="Find">
<br /><div style="font-size:10px; text-align:left;">
<input type="radio" name="sitesearch" value=""> Web<br />
<input type="radio" name="sitesearch" value="mysite.com" checked="checked">mysite.com
<br /></div>
<input type="hidden" name="cof" value="LOADSACODE">
<input type="hidden" name="hl" value="en">
</form>
<!-- SiteSearch Google -->
It still works.
Do you think Google will mind? >;->
[edited by: ronin at 2:55 am (utc) on June 18, 2004]
birdstuff> As I understand it from the TOS, you can have the Search box on the same page as Google adsense but... it seemed to say something along the lines of not being allowed to have any kind of advert which could be reasonably mistaken as coming from Google on the same page as a searchbox.
This raises one major issue.
Up until now, it's been acceptable to use AdSense alternatives (ie. other contextual ad providers) to replace PSAs, because if the alternative was on the page, that meant that AdSense wasn't.
But, the searchbox is on the page permanently... so, back to PSA's?
HTML style for style's sake leaves me cold, but the code doesn't make sense. I'm getting the Google logo on its own row, the search box (with sitesearch) on another, pushed to the right by that empty cell. Odd. Unusable.
I'm sure they'll fix it. It's certainly a little dispiriting they launched it like that.
I'm also getting scripting errors, the ol' "undefined is undefined." (Sounds like a fragment of Heraclitus.) Maybe that's where the table error comes from, although it sails through in Netscape and still produces the same code.
One quick suggestion:
variations of the box.... as in 3 or 4 more sizes. Just like GoTo used to have.
a slender size
a square size
a bigger size {god knows why but there might be some}
You can cram the logo, and the radio buttons closer. I know you can, and since the webmasters can't touch your code it has to come from you guys at the Plex.
One quick suggestion:variations of the box.... as in 3 or 4 more sizes. Just like GoTo used to have.
a slender size
a square size
a bigger size {god knows why but there might be some}
I'd like to see a horizontal band like the one that Washingtonpost.com uses above its content. It would work perfectly below a horizontal navbar.
Well, actually, the Image might not load because you are switching pages, you may need to frame and ask the parent to load the image.
[edited by: blaze at 4:12 am (utc) on June 18, 2004]
Does anyone know if you can modify the search box to your liking?
Only if you manually change the color specification in the table statement in the form.
I have done this as and sent an email to Google support to review my test page and let me know if this type of customization is acceptable.
They do say on their page [google.com...]
Pick our standard Google search box and search results for a quick start. Or, take a few minutes to do some customization.
I'm hoping like many of you we can at least change the background color of the search bar table.
What'd really be nice is if we were allowed to pre-fill the search box.
<INPUT TYPE=text name=q size=25 maxlength=255 value='[b]some crazy search term here[/b]'>
<INPUT type=submit name=sa VALUE='Search'> what would be 10 times better is if they started pushing adwords results with the google api search results, then it could be used for true site integration.
I'm thinking ultsearch for the masses... more money maybe, but the web's gonna suck now, with results being even less relevant(i.e crappy pages) ....
[edited by: rfung at 4:28 am (utc) on June 18, 2004]