GoogleSearch: Difference between revisions
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
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); |
Latest revision as of 22:47, 18 February 2013
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>