-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
83 lines (60 loc) · 2.32 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE HTML>
<html>
<head>
<title>jquery-inputcloak</title>
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
<style>
body{
background-color: #F0F0F0;
margin-top: 10px;
margin-left: 20px;
margin-right: 20px;
border-left: 2px;
border-right: 2px;
border-style: solid;
border-color: #dcdcdc;
border-radius: 2px;
padding-top: 10px;
padding-right: 25px;
padding-left: 25px;
padding-bottom: 20px;
-moz-box-shadow: 5px 5px 5px #888;
-webkit-box-shadow: 5px 5px 5px #888;
box-shadow: 5px 5px 5px #888;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
<script type="text/javascript" src="dist/jquery-inputcloak.min.js"></script>
<script>
$(document).ready(function() {
$('.cloaked').inputCloak();
$('.delayed').inputCloak({delay: 1000});
$('.ssn').inputCloak({
type: 'ssn'});
});
</script>
</head>
<body>
<div class="container">
<h1>jquery-inputcloak examples!</h1>
<p>
<hr style="border-color: #c8c8c8;">
</p>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<h4>Basic Example</h4>
<input class="cloaked" type="text" placeholder="type anything here">
<h4>Delay Example</h4>
<input class="delayed" type="text" placeholder="type anything here too!">
<h4>SSN Example</h4>
<input class="ssn" type="text" placeholder="type social here">
<h5>There is a css property text-security to do this, but it won't let you see it while editing.</h5>
<input type="text" style="-webkit-text-security: disc; text-security: disc;" placeholder="type stuff here">
</div>
</div>
</div>
</div>
</body>
</html>