-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpassShark.html
121 lines (97 loc) · 2.43 KB
/
passShark.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>iPhone Password</title>
<script src="js/jquery1.91.min.js" type="text/javascript"></script>
<script src="js/asdui.js" type="text/javascript"></script>
<script>
$(function() {
var pass1 = new ZUI.PassShark('user-password',{duration: 2300,replacement: '%u2605',spBtn:'#showpass'});
var pass2 = new ZUI.PassShark('user-password-2',{duration: 2000,spBtn:'#showpass2'});
});
</script>
</head>
<body>
<div id="page-wrap">
<h1>iPhone-ish Password Inputs</h1>
<h2>Example 1: Flash Letter When Typed</h2>
<form action="#" id="login-form-1">
<div>
<label for="user-password">Password</label>
<input type="password" id="user-password" name="user-password">
<a href="javascript:;" id="showpass">show pass</a>
</div>
</form>
<h2>Example 2: Show Only Last Letter</h2>
<form action="#" id="login-form-2">
<div>
<label for="user-password-2">Password</label>
<input type="password" id="user-password-2" name="user-password-2">
<a href="javascript:;" id="showpass2">show pass</a>
</div>
</form>
</div>
<style type="text/css" style="display: none !important;">
* {
margin: 0;
padding: 0;
}
body {
overflow-x: hidden;
}
#demo-top-bar {
text-align: left;
background: #222;
position: relative;
zoom: 1;
width: 100% !important;
z-index: 6000;
padding: 20px 0 20px;
}
#demo-bar-inside {
width: 960px;
margin: 0 auto;
position: relative;
}
#demo-bar-buttons {
padding-top: 10px;
float: right;
}
#demo-bar-buttons a {
font-size: 12px;
margin-left: 20px;
color: white;
margin: 2px 0;
text-decoration: none;
font: 14px "Lucida Grande", Sans-Serif !important;
}
#demo-bar-buttons a:hover,
#demo-bar-buttons a:focus {
text-decoration: underline;
}
#demo-bar-badge {
display: inline-block;
width: 302px;
padding: 0 !important;
margin: 0 !important;
background-color: transparent !important;
}
#demo-bar-badge a {
display: block;
width: 100%;
height: 38px;
border-radius: 0;
bottom: auto;
margin: 0;
background: url(/images/examples-logo.png) no-repeat;
background-size: 100%;
overflow: hidden;
text-indent: -9999px;
}
#demo-bar-badge:before, #demo-bar-badge:after {
display: none !important;
}
</style>
</body>
</html>