Signed-off-by: tji <tina.ji@bc.libraries.coop>
[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     <div class="gcse-search"></div>
36     
37    
38     </div>
39
40     <!-- for master    
41     
42     <script type='text/javascript'>
43       google.load('search', '1', {language: 'en', style: google.loader.themes.GREENSKY});
44       google.setOnLoadCallback(function() {
45       var customSearchOptions = {};
46       var customSearchControl =   new google.search.CustomSearchControl('004118323935733566362:uoicxmjem6w', customSearchOptions);
47       customSearchControl.setResultSetSize(google.search.Search.SMALL_RESULTSET);
48       var options = new google.search.DrawOptions();
49       customSearchControl.draw('cse', options);
50       }, true);
51       
52       </div>
53       </script>   
54     
55     <link rel="stylesheet" href="http://www.google.com/cse/style/look/minimalist.css" 
56     type="text/css" />
57     -->
58   
59
60
61  
62
63
64
65