-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathrtxcomplete.html
64 lines (56 loc) · 1.34 KB
/
rtxcomplete.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="/bootstrap.css">
<style>
body {
font-family: Arial;
font-size: 14pt;
padding:10px;
margin: 10px;
border: 1px solid #000;
}
input {
font-family: Arial;
font-size: 14pt;
padding:10px;
margin: auto;
border: 1px solid #000;
}
.column {
float: left;
width: 100%;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
option {
/* wrap text in compatible browsers */
-moz-white-space:pre-wrap;
-o-white-space:pre-wrap;
white-space:pre-wrap;
/* hide text that can't wrap with an ellipsis */
overflow: hidden;
text-overflow:ellipsis;
/* add border after every option */
border-bottom: 1px solid #DDD;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="/data/quick_def.json"><script>
<script src="/bootstrap.js"></script>
<script src="/bootstrap3-typeahead.js"></script>
<script src="/rtxcomplete.js"></script>
<body>
<center>
<h1> AUTOCOMPLETE DEMO</h1>
<div class="row">
<div class="column">
<input type="text" class="typeInput" data-provide="typeahead" style="width:95%"/>
</div>
</div>
</center>
</body>
</html>