search box code
[sitka/doc/manual.git] / search-box.html
CommitLineData
3086df4b
RJ
1
2
3<html>
ba6697ec
T
4
5 <div style="float: right; width: 350px; position: relative; top: -30px">
6 <div id='cse-search-form' style='width: 100%;'>Loading</div>
7 <script src='//www.google.com/jsapi' type='text/javascript'></script>
8 <script type='text/javascript'>
9 google.load('search', '1', {language: 'en', style: google.loader.themes.MINIMALIST});
10 google.setOnLoadCallback(function() {
11 var customSearchOptions = {};
12 var customSearchControl = new google.search.CustomSearchControl('004118323935733566362:1sfwpn2ock8', customSearchOptions);
13 customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
14 var options = new google.search.DrawOptions();
15 options.setSearchFormRoot('cse-search-form');
16 customSearchControl.draw('cse', options);
17 }, true);
18 </script></div>
19
20 <link rel="stylesheet" href="http://www.google.com/cse/style/look/minimalist.css"
21 type="text/css" />
22
23 <!--
3086df4b
RJ
24<div style="float: right; width: 350px; position: relative; top: -30px">
25 <div id="cse" style="width: 100%;">Loading</div>
26 <script src="http://www.google.com/jsapi" type="text/javascript"></script>
27 <script type="text/javascript">
28 google.load('search', '1', {language : 'en', style : google.loader.themes.MINIMALIST});
29 google.setOnLoadCallback(function() {
30 var customSearchControl = new google.search.CustomSearchControl('004118323935733566362:einy5gdhg28');
31 customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
32 customSearchControl.draw('cse');
33 }, true);
34</script>
35</div>
36<link rel="stylesheet" href="http://www.google.com/cse/style/look/minimalist.css"
37type="text/css" />
38
ba6697ec 39 -->
3086df4b 40</html>