7129a190ed9973f8c4ad1431a9115dcb7200eaa8
[sitka/doc/manual.git] / search-box.html
1
2 <!DOCTYPE html>
3
4   
5   <div style="float: right; width: 350px; position: relative; top: -30px">
6     <!--  <div id='cse' style='width: 100%;'>Loading</div>  -->
7     <!--     <script src='//www.google.com/jsapi' type='text/javascript'></script>  -->
8     
9     <!-- prod  
10   <script type='text/javascript'>
11     google.load('search', '1', {language: 'en', style: google.loader.themes.GREENSKY});
12     google.setOnLoadCallback(function() {
13     var customSearchOptions = {};
14     var customSearchControl =   new google.search.CustomSearchControl('004118323935733566362:einy5gdhg28', customSearchOptions);
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>   -->
21     
22     <!-- prod new script Dec 13, 17 -->
23   
24     <script>
25       (function() {
26       var cx = '004118323935733566362:einy5gdhg28';
27       var gcse = document.createElement('script');
28       gcse.type = 'text/javascript';
29       gcse.async = true;
30       gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
31       var s = document.getElementsByTagName('script')[0];
32       s.parentNode.insertBefore(gcse, s);
33       })();
34     </script>
35     
36     <div class="gcse:searchbox"></div>
37     <div class="gcse:searchresults"></div>
38    
39     </div>
40
41     <!-- for master    
42     
43     <script type='text/javascript'>
44       google.load('search', '1', {language: 'en', style: google.loader.themes.GREENSKY});
45       google.setOnLoadCallback(function() {
46       var customSearchOptions = {};
47       var customSearchControl =   new google.search.CustomSearchControl('004118323935733566362:uoicxmjem6w', customSearchOptions);
48       customSearchControl.setResultSetSize(google.search.Search.SMALL_RESULTSET);
49       var options = new google.search.DrawOptions();
50       customSearchControl.draw('cse', options);
51       }, true);
52       
53       </div>
54       </script>   
55     
56     <link rel="stylesheet" href="http://www.google.com/cse/style/look/minimalist.css" 
57     type="text/css" />
58     -->
59   
60
61
62  
63
64
65
66