google search box
authortji <tina.ji@bc.libraries.coop>
Wed, 13 Dec 2017 20:51:07 +0000 (12:51 -0800)
committertji <tina.ji@bc.libraries.coop>
Wed, 13 Dec 2017 20:51:07 +0000 (12:51 -0800)
Signed-off-by: tji <tina.ji@bc.libraries.coop>
search-box.html

index db5fb0e..dc5b414 100644 (file)
       s.parentNode.insertBefore(gcse, s);
       })();
     </script>
-    <gcse:searchbox></gcse:searchbox>
-   
-      </div>
+    
+  
+    
+    <div style="border: 1px solid blue;">
+      Area 1 (for example a sidebar)
+      <gcse:searchbox></gcse:searchbox>
+    </div>
+    
+    <div style="border: 1px solid red;">
+      Area 2 (for example main area of the page)
+      <gcse:searchresults></gcse:searchresults>
+    </div>
+    </div>
 
     <!-- for master