-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (38 loc) · 1.11 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
<html>
<head>
<meta charset="utf-8">
<title>DateLine</title>
<link rel="stylesheet" href="css/spinner.css">
<meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,user-scalable=no,width=device-width">
</head>
<body>
<div>
<h2>Number</h2>
<input type="text" id="spinner" name="spinner" value="1">
</div>
<div>
<h2>Time</h2>
<input type="text" id="time-spinner" name="time-spinner" value="12:35" style="width:300">
</div>
<script src="js/zepto.min.js"></script>
<script src="js/globalize.js"></script>
<script src="js/globalize.de.js"></script>
<script src="js/spinner.js"></script>
<script>
(function($) {
var $spinner = $('#spinner'),
$timeSpinner = $('#time-spinner');
Globalize.culture('de-DE');
$spinner.Spinner({
min: 1,
max: 10
});
$timeSpinner.TimeSpinner({
minutesStep: 10,
min: '12:00',
max: '18:00'
});
}(Zepto));
</script>
</body>
</html>