-
Notifications
You must be signed in to change notification settings - Fork 62
/
test.html
45 lines (43 loc) · 1.64 KB
/
test.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
<!DOCTYPE html>
<html>
<head>
<title>FLAPPER</title>
<link href="css/flapper.css" type="text/css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="transform/dist/jquery.transform-0.9.3.min.js"></script>
<script src="src/jquery.flapper.js"></script>
<script language="javascript">
$(document).ready(function() {
$('input.flapper.digital').flapper({
width: 6,
cycleInterval: 1000,
});
$('input.flapper.words').flapper({
width: 1,
cycleInterval: 1000,
chars: [' ', 'YES', 'NO', 'MAYBE'],
});
});
</script>
</head>
<body>
<div style="display: inline-block; width: 48%;">
<div class="flapper SM">Digital</div>
<input class="flapper XXL digital" />
<input class="flapper XL digital" />
<input class="flapper L digital" />
<input class="flapper M digital" />
<input class="flapper S digital" />
<input class="flapper XS digital" />
</div>
<div style="display: inline-block; width: 48%;">
<div class="flapper SM">Words</div>
<input class="flapper XXL words" />
<input class="flapper XL words" />
<input class="flapper L words" />
<input class="flapper M words" />
<input class="flapper S words" />
<input class="flapper XS words" />
</div>
</body>
</html>