GoogleSearch: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
In an effort to improve the search engine for Halachipedia, we have a custom Google Search, however, because of the ads this isn't our preferred search option. | |||
<Googlecoop></Googlecoop> | <Googlecoop></Googlecoop> | ||
<addhtml><html><script src="http://www.google.com/jsapi" type="text/javascript"></script><script type="text/javascript">google.load('search','1',{language:'en',style:google.loader.themes.SHINY});google.setOnLoadCallback(function(){var customSearchOptions = {};var customSearchControl = new google.search.CustomSearchControl('015785895051814538703:vs9hjnwv1je', customSearchOptions); | <addhtml><html><script src="http://www.google.com/jsapi" type="text/javascript"></script><script type="text/javascript">google.load('search','1',{language:'en',style:google.loader.themes.SHINY});google.setOnLoadCallback(function(){var customSearchOptions = {};var customSearchControl = new google.search.CustomSearchControl('015785895051814538703:vs9hjnwv1je', customSearchOptions); |
Revision as of 23:48, 19 June 2012
In an effort to improve the search engine for Halachipedia, we have a custom Google Search, however, because of the ads this isn't our preferred search option. <Googlecoop></Googlecoop> <addhtml><html><script src="http://www.google.com/jsapi" type="text/javascript"></script><script type="text/javascript">google.load('search','1',{language:'en',style:google.loader.themes.SHINY});google.setOnLoadCallback(function(){var customSearchOptions = {};var customSearchControl = new google.search.CustomSearchControl('015785895051814538703:vs9hjnwv1je', customSearchOptions); customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET); var options = new google.search.DrawOptions(); options.setSearchFormRoot('cse-search-form'); options.setAutoComplete(true);
customSearchControl.draw('cse', options);}, true);</script>
</html></addhtml>