Google Custom search


 

Create your code for google custom search from : http://www.google.com/cse

<p></p><form action="http://www.google.com/cse" id="cse-search-box">
  <div>
    <input type="hidden" name="cx" 
      value="002596005123405807971:h2ykeai42n0" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="31" />
    <input type="submit" name="sa" value="Search in My Blog" />
  </div>
</form>
<script type="text/javascript" 
 src="http://www.google.com/coop/cse/brand?form=cse-search-box
    &lang=nl"></script>

OR

<script>
  (function() {
    var cx = '002596005123405807971:h2ykeai42n0';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = (document.location.protocol == 'https:'
                   ? 'https:' : 'http:') +
        '//www.google.com/cse/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:search></gcse:search>

Best Luck 🙂

If you have any query then feel free to contact me at Jainish Senjaliya

Advertisements

2 thoughts on “Google Custom search

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s