datepicker: make example.html an example - jscancer - Javascript crap (relatively small)
(HTM) git clone git://git.codemadness.org/jscancer
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 308ace453533d328570dcc4d18826641d0b2e891
(DIR) parent d5cc70edd53cbc72043ebb8b53a427dd6430d135
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 30 May 2017 19:37:45 +0200
datepicker: make example.html an example
Diffstat:
M datepicker/example.html | 93 +------------------------------
1 file changed, 2 insertions(+), 91 deletions(-)
---
(DIR) diff --git a/datepicker/example.html b/datepicker/example.html
@@ -7,97 +7,8 @@
</head>
<body>
-<input type="date" class="date" min="2016-01-01" max="2016-12-31" />
-
-aaaaaaaaaaaaaa <input type="date" class="date" min="2016-01-01" max="2016-12-31" />
-
-<br/>
-<br/>
-<br/>
-<div style="float: right">
- <input type="date" class="date" min="2016-01-01" max="2016-12-31" />
-</div>
-
-
-<div style="position: fixed; top: 250px; left: 300px;">
-Form:
-<form method="post">
- <label for="datefixed"><strong>Date: </strong></label>
- <input type="date" class="date" id="datefixed" min="2016-01-01" max="2016-12-31" />
-</form>
-</div>
-
-<div style="position: absolute; top: 1250px; left: 1300px;">
- <input type="date" class="date" min="2016-01-01" max="2016-12-31" />
-</div>
-
-<br/>
-<br/>
-<br/>
-
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-
-<table>
-<tr>
-<td>Test offset</td>
-<td><input type="date" class="date" min="2016-01-01" max="2016-12-31" /></td>
-</tr>
-</table>
-
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<br/>
-<input type="date" class="date" min="2016-01-05" max="2016-01-08" />
+<label for="example">Date:</label>
+<input id="example" type="date" class="date" min="2016-01-05" max="2030-12-31" />
<script type="text/javascript" src="datepicker.js"></script>