answers

Google Custom Search Engine Example

The search feature is currently unavailable in New Google Sites in Google@SEAS.

Embed this code for Google Custom Search Engine (replace the cx value with your own Search Engine ID):

<script>

(function() {

var cx = '013858703957139678513:h9bk4j8fawi';

var gcse = document.createElement('script');

gcse.type = 'text/javascript';

gcse.async = true;

gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;

var s = document.getElementsByTagName('script')[0];

s.parentNode.insertBefore(gcse, s);

})();

</script>

<gcse:search></gcse:search>

</div>