Is anyone using a google search box on their site? My attempt isn't working. I placed the google search box code in the footer inline ad area. When I enter search text in the google search box it simply takes me to the CS advanced search area.
The UKs best resource for the Golf, Bora, Jetta and Scirocco
Audi Forums, Galleries and Blogs
Thanks for the solution! I love your site - it looks great. Great job. I'm still working on my site and thought it was done, but yesterday but I started looking at it on Dell 19" monitors and I was dismayed. The colors were washed out and not vibrant even with default factory settings. I'm wanted to use a toned down color scheme that fits my site for Arizona gardening but on the larger monitors it didn't stand out.
On my Dell 17" and it looks like I intended from a design/color standpoint. I'm still testing other browsers too.
I might have a couple of questions for you down-the-line...
This is the google code they gave me for the search box:
<!-- Search Google --><center><form method="get" action="http://www.google.com/custom" target="google_window"><table bgcolor="#ffffff"><tr><td nowrap="nowrap" valign="top" align="left" height="32">
<input type="text" name="q" size="31" maxlength="255" value=""></input><input type="submit" name="sa" value="Google Search"></input><input type="hidden" name="client" value="pub-4540028856158828"></input><input type="hidden" name="forid" value="1"></input><input type="hidden" name="ie" value="ISO-8859-1"></input><input type="hidden" name="oe" value="ISO-8859-1"></input><input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input><input type="hidden" name="hl" value="en"></input></td></tr></table></form></center><!-- Search Google -->
I would like to be able to add it to the inline ad control at the bottom of the page so that a google search option is available on every page the ads are displayed. The general footer area won't work because I have other content there.
Thanks for your help!
Leo:Did you find a solution other than the iFrame to integrating the Google search box on your site?
This is the only solution, there's no other way of embedding a form within an ASP.NET form (as far as I know ).
Try something like this :
--------------------
It basically uses the button onclick event to submit the form.
Dave:Is it not against the Google T&C's to do that though?
Not sure - I think as long as you're not trying to mask the fact that you're using Google for searches, and you're not "tricking" the user into performing searches, it should be fine. The above method is just a way to achieve the same result as a form, but without the form element. Might want to check with Google though just to make sure ...
Dave: Leo:Did you find a solution other than the iFrame to integrating the Google search box on your site? This is the only solution, there's no other way of embedding a form within an ASP.NET form (as far as I know ).
In ASP.NET 2.0, you are able to change the post to URL of any form submit/button on a page.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com