forked from Pikaday/Pikaday
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (32 loc) · 1.37 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<title>Pikaday</title>
<meta name="author" content="David Bushell">
<link rel="stylesheet" href="css/pikaday.css">
<link rel="stylesheet" href="css/site.css">
</head>
<h1>Pikaday</h1>
<p class="large">A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS.</p>
<p><a href="https://github.com/dbushell/Pikaday"><strong>Pikaday source on GitHub</strong></a></p>
<label for="datepicker">Date:</label>
<br>
<input type="text" id="datepicker">
<h2>What is this?</h2>
<p>This is a development preview! Feel free to use it however you like but please report any bugs or feature requests to <a href="http://twitter.com/dbushell/">@dbushell</a> (on the GitHub issue tracker), thanks!</p>
<p class="small">Copyright © 2013 <a href="http://dbushell.com/">David Bushell</a> | BSD & MIT license | Made for <a href="http://www.browserlondon.com/">Browser</a></p>
<script src="pikaday.js"></script>
<script>
var picker = new Pikaday(
{
field: document.getElementById('datepicker'),
firstDay: 1,
minDate: new Date('2000-01-01'),
maxDate: new Date('2020-12-31'),
yearRange: [2000,2020]
});
</script>
</body>
</html>