try newly created searchbox
[sitka/doc/manual.git] / search-box.html
CommitLineData
3086df4b
RJ
1
2
3<html>
ba6697ec
T
4
5 <div style="float: right; width: 350px; position: relative; top: -30px">
8ec1ca6e
T
6 <div id='cse' style='width: 100%;'>Loading</div>
7 <script src='//www.google.com/jsapi' type='text/javascript'></script>
df702916 8
fa783104 9 <!-- prod
8148ce0a 10 <script type='text/javascript'>
11 google.load('search', '1', {language: 'en', style: google.loader.themes.GREENSKY});
12 google.setOnLoadCallback(function() {
13 var customSearchOptions = {};
91c08c0d 14 var customSearchControl = new google.search.CustomSearchControl('004118323935733566362:einy5gdhg28', customSearchOptions);
8148ce0a 15 customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
16 var options = new google.search.DrawOptions();
17 options.setSearchFormRoot('cse-search-form');
18 customSearchControl.draw('cse', options);
19 }, true);
20 </script>
11012af9 21
8148ce0a 22 </div>
fa783104 23 -->
24 <!-- for master -->
df702916
T
25
26 <script type='text/javascript'>
27 google.load('search', '1', {language: 'en', style: google.loader.themes.GREENSKY});
28 google.setOnLoadCallback(function() {
29 var customSearchOptions = {};
d536237f 30 var customSearchControl = new google.search.CustomSearchControl('004118323935733566362:2qdiqci3o-8', customSearchOptions);
df702916
T
31 customSearchControl.setResultSetSize(google.search.Search.SMALL_RESULTSET);
32 var options = new google.search.DrawOptions();
33 customSearchControl.draw('cse', options);
34 }, true);
8148ce0a 35
36 </div>
df702916 37 </script>
fabea586 38
fa783104 39
8148ce0a 40
ba6697ec
T
41
42 <link rel="stylesheet" href="http://www.google.com/cse/style/look/minimalist.css"
43 type="text/css" />
8148ce0a 44
fabea586 45
8ec1ca6e 46
3086df4b 47</html>