search box
authortji <tina.ji@bc.libraries.coop>
Thu, 14 Dec 2017 18:38:37 +0000 (10:38 -0800)
committertji <tina.ji@bc.libraries.coop>
Thu, 14 Dec 2017 18:38:37 +0000 (10:38 -0800)
Signed-off-by: tji <tina.ji@bc.libraries.coop>
search-box.html

index 7ab011d..ed5c090 100644 (file)
@@ -1,7 +1,13 @@
 
 
-<html>
+<!DOCTYPE html>
+
 <div style="float: right; width: 350px; position: relative; top: -30px">
+  <link rel="stylesheet" href="http://www.google.com/cse/style/look/minimalist.css" 
+type="text/css" />
+  
+  
+  <!--
   <div id="cse" style="width: 100%;">Loading</div>
   <script src="http://www.google.com/jsapi" type="text/javascript"></script>
   <script type="text/javascript">
     customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
     customSearchControl.draw('cse');
   }, true);
-</script>  
+  </script>    -->
+  
+  <script type='text/javascript'>
+    (function() {
+    var cx = '004118323935733566362:if0wheyrmqu';
+    var gcse = document.createElement('script');
+    gcse.type = 'text/javascript';
+    gcse.async = true;
+    gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
+    var s = document.getElementsByTagName('script')[0];
+    s.parentNode.insertBefore(gcse, s);
+    })();
+  </script>
+  
+  <div class="gcse:search" ></div> 
+  
 </div>
-<link rel="stylesheet" href="http://www.google.com/cse/style/look/minimalist.css" 
-type="text/css" />
 
 
-</html>
+
+