forked from openhab/openhab-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.html
42 lines (41 loc) · 990 Bytes
/
search.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
layout: intro
title: openHAB 2 - Search Results
---
{% include base.html %}
<h2>Search Results</h2>
<div id="searchresults">
<div id="gsearch"></div>
<script>
var myCallback = function() {
if (document.readyState == 'complete') {
google.search.cse.element.render(
{
div: "gsearch"
});
} else {
google.setOnLoadCallback(function() {
google.search.cse.element.render(
{
div: "gsearch"
});
}, true);
}
};
window.__gcse = {
parsetags: 'explicit',
callback: myCallback
};
(function() {
var cx = '003707250976775348452:h9hxadbatfq';
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>
<gcse:searchresults-only linkTarget=""></gcse:searchresults-only>
</div>
</div>