Commit 66b7e39ea1c451e5fdef2b10fa7af4b086a17aed
1 parent
2cebea8364
Exists in
master
Signed-off-by: Tom Huang <tom_huang@sanlien.com.tw>
a
Showing
1 changed file
with
1 additions
and
1 deletions
 
Show diff stats
index.html
| 1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> | 
| 2 | <html> | 2 | <html> | 
| 3 | <head> | 3 | <head> | 
| 4 | <meta charset="utf-8"> | 4 | <meta charset="utf-8"> | 
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"> | 5 | <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"> | 
| 6 | <title>Pikaday</title> | 6 | <title>Pikaday</title> | 
| 7 | <meta name="author" content="David Bushell"> | 7 | <meta name="author" content="David Bushell"> | 
| 8 | <link rel="stylesheet" href="css/pikaday.css"> | 8 | <link rel="stylesheet" href="css/pikaday.css"> | 
| 9 | <link rel="stylesheet" href="css/site.css"> | 9 | <link rel="stylesheet" href="css/site.css"> | 
| 10 | </head> | 10 | </head> | 
| 11 | <body> | 11 | <body> | 
| 12 | <h1>Pikadayaaa</h1> | 12 | <h1>Pikadayaaa</h1> | 
| 13 | 13 | ||
| 14 | <p class="large">A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS.</p> | 14 | <p class="large">A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS.</p> | 
| 15 | 15 | ||
| 16 | <p><a href="https://github.com/dbushell/Pikaday"><strong>Pikaday source on GitHub</strong></a></p> | 16 | <p><a href="https://github.com/dbushell/Pikaday"><strong>Pikaday source on GitHub</strong></a></p> | 
| 17 | 17 | ||
| 18 | <label for="datepicker">Date:</label> | 18 | <label for="datepicker">aa:</label> | 
| 19 | <br> | 19 | <br> | 
| 20 | <input type="text" id="datepicker"> | 20 | <input type="text" id="datepicker"> | 
| 21 | 21 | ||
| 22 | <h2>What is this?</h2> | 22 | <h2>What is this?</h2> | 
| 23 | 23 | ||
| 24 | <p>Since version 1.0 Pikaday is a stable and battle tested date-picker. Feel free to use it however you like but please report any bugs or feature requests to the <a href="https://github.com/dbushell/Pikaday/issues">GitHub issue tracker</a>, thanks!</p> | 24 | <p>Since version 1.0 Pikaday is a stable and battle tested date-picker. Feel free to use it however you like but please report any bugs or feature requests to the <a href="https://github.com/dbushell/Pikaday/issues">GitHub issue tracker</a>, thanks!</p> | 
| 25 | 25 | ||
| 26 | <p class="small">Copyright © 2014 <a href="http://dbushell.com/">David Bushell</a> | BSD & MIT license</p> | 26 | <p class="small">Copyright © 2014 <a href="http://dbushell.com/">David Bushell</a> | BSD & MIT license</p> | 
| 27 | 27 | ||
| 28 | 28 | ||
| 29 | <script src="pikaday.js"></script> | 29 | <script src="pikaday.js"></script> | 
| 30 | <script> | 30 | <script> | 
| 31 | 31 | ||
| 32 | var picker = new Pikaday( | 32 | var picker = new Pikaday( | 
| 33 | { | 33 | { | 
| 34 | field: document.getElementById('datepicker'), | 34 | field: document.getElementById('datepicker'), | 
| 35 | firstDay: 1, | 35 | firstDay: 1, | 
| 36 | minDate: new Date(2000, 0, 1), | 36 | minDate: new Date(2000, 0, 1), | 
| 37 | maxDate: new Date(2020, 12, 31), | 37 | maxDate: new Date(2020, 12, 31), | 
| 38 | yearRange: [2000,2020] | 38 | yearRange: [2000,2020] | 
| 39 | }); | 39 | }); | 
| 40 | 40 | ||
| 41 | </script> | 41 | </script> | 
| 42 | </body> | 42 | </body> | 
| 43 | </html> | 43 | </html> |