-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (41 loc) · 1.26 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Jquery Virtual Keyboard</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous">
<link rel="stylesheet" href="css/jkeyboard.css">
<style>
body {
background: #144766;
}
#search_field {
display: block;
margin: 10vh auto;
padding: 5px 10px;
font-size: 28px;
width: 50%;
}
</style>
</head>
<body>
<div class="container">
<input type="text" id="search_field">
<div id="keyboard"></div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="js/jkeyboard.js"></script>
<script>
$(document).ready(function () {
$('#keyboard').jkeyboard({
layout: "english",
input: $('#search_field')
});
});
</script>
</body>
</html>