the css menu is not a problem

Mar 31, 2008

How to use Google Custom Search

How can I replace the standard search box in the Macromedia-style
menu with a Google CSE Search Box? Thanks for your help!


Answer:



Hi,
for example you have the google custom search code:

<!-- Google CSE Search Box Begins -->
<form id="searchbox_015076957661366469059:4-chnwqi44u"
action="http://www.google.com/cse">
<input type="hidden" name="cx" value="015076957661366469059:4-chnwqi44u" />
<input type="hidden" name="cof" value="FORID:0" />
<input name="q" type="text" size="40" />
<input type="submit" name="sa" value="Search" />
<img src="http://www.google.com/coop/images/google_custom_search_smnarb.gif"
alt="Google Custom Search" />
</form>
<!-- Google CSE Search Box Ends -->


The menu search button must have the code:
a href="http://www.google.com/cse?cx=015076957661366469059%3A4-chnwqi44u
%26cof=FORID%3A0%26sa=Search%26q="


Regards
Dmitry
f-source.com

2 comments:

Julie taylor said...

The post is written in very a good manner and it contains many useful information for me.
best website development company

Nemco said...

Good tips you have here! I'm sure this'll be a big help for everyone. Thanks for sharing! By the way, you can also try some of the Laravel Development Services that will surely help you.
node.js development services