-
Notifications
You must be signed in to change notification settings - Fork 14
/
test.html
34 lines (28 loc) · 1.55 KB
/
test.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
<html>
<head>
<!-- Dependencies -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script>
<script type="text/javascript" src="jquery.indextank.ize.js"></script>
<script type="text/javascript" src="jquery.indextank.autocomplete.js"></script>
<script type="text/javascript" src="querybuilder.js"></script>
<script type="text/javascript" src="jquery.indextank.ajaxsearch.js"></script>
<script type="text/javascript" src="jquery.indextank.renderer.js"></script>
<script type="text/javascript" src="jquery.indextank.instantsearch.js"></script>
<link type="text/css" rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/themes/south-street/jquery-ui.css" media="all" />
<script>
$(document).ready(function(){
$("#myform").indextank_Ize(YOUR_PUBLIC_API_URL, YOUR_INDEX_NAME);
var renderer = $("#results").indextank_Renderer();
$("#query").indextank_Autocomplete().indextank_AjaxSearch( {listeners: renderer}).indextank_InstantSearch();
});
</script>
</head>
<body>
<h3>Start typing and see suggestions from indextank.com's documentation.</h3>
<form id="myform" action="ignored.html">
<input id="query" type="text"/>
</form>
<div id="results"></div>
</body>
</html>