-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (55 loc) · 2 KB
/
index.html
File metadata and controls
64 lines (55 loc) · 2 KB
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 lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery Morse Code Input</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="jquery.morseCodeInput.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="morse-code-input.css">
<link rel="stylesheet" href="github-io.css">
</head>
<body>
<div class="container">
<div class="header clearfix">
<h3 class="text-muted pull-left">jQuery Morse Code Input</h3>
<nav>
<ul class="nav nav-pills pull-right">
<li role="presentation" class="active"><a href="https://shmakov.github.io/jQuery-Morse-Code-Input/">Demo</a></li>
<li role="presentation"><a href="https://github.com/Shmakov/jQuery-Morse-Code-Input">GitHub Source Code</a></li>
</ul>
</nav>
</div>
<div class="jumbotron">
<h1>Morse Code Input Demo</h1>
<p>Click/Tap on any form input field below</p>
</div>
<form id="demo-form" onsubmit="return false;">
<div class="form-group">
<label for="first_name">Your Name</label>
<input type="text" id="first_name" class="form-control">
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" class="form-control">
</div>
<div class="form-group">
<label for="feedback">Tell us about your experience</label>
<textarea id="feedback" class="form-control"></textarea>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</form>
</div>
<script>
$(document).ready(function(){
$("#first_name").morseCodeInput();
$("#email").morseCodeInput();
$("#feedback").morseCodeInput();
});
</script>
</body>
</html>