-
Notifications
You must be signed in to change notification settings - Fork 180
Expand file tree
/
Copy pathsearchform.php
More file actions
24 lines (22 loc) · 870 Bytes
/
searchform.php
File metadata and controls
24 lines (22 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div id="cse-search-form" style="width: 100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'is', style : google.loader.themes.MINIMALIST});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl(
'003939949262846506078:66utdtcjsvu');
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
var options = new google.search.DrawOptions();
options.enableSearchboxOnly("http://www.lemurinn.is/", "s");
customSearchControl.draw('cse-search-form', options);
}, true);
</script>
<style type="text/css">
input.gsc-input {
border-color: #777777;
}
input.gsc-search-button {
border-color: #333333;
background-color: #333333;
}
</style>