datepicker: add more position tests, remove compat.js - jscancer - Javascript c… | |
git clone git://git.codemadness.org/jscancer | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit cc9f1342e27fd2ad3d5c1ef62e407a7efe9dbf5d | |
parent dbeaa14c679d2cdde4b53ecec1d17f2735ab5d56 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Thu, 2 Jun 2016 18:43:16 +0200 | |
datepicker: add more position tests, remove compat.js | |
Diffstat: | |
M datepicker/example.html | 17 +++++++++++++---- | |
1 file changed, 13 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/datepicker/example.html b/datepicker/example.html | |
@@ -20,10 +20,13 @@ aaaaaaaaaaaaaa <input type="date" class="date" min="2016-01… | |
<div style="position: fixed; top: 250px; left: 300px;"> | |
- <input type="date" class="date" min="2016-01-01" max="2016-12-31" /> | |
+Form: | |
+<form method="post"> | |
+ <label for="datefixed"><strong>Date: </strong></label> | |
+ <input type="date" class="date" id="datefixed" min="2016-01-01" max="2… | |
+</form> | |
</div> | |
- | |
<div style="position: absolute; top: 1250px; left: 1300px;"> | |
<input type="date" class="date" min="2016-01-01" max="2016-12-31" /> | |
</div> | |
@@ -47,7 +50,14 @@ aaaaaaaaaaaaaa <input type="date" class="date" min="2016-01-… | |
<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/> | |
@@ -89,7 +99,6 @@ aaaaaaaaaaaaaa <input type="date" class="date" min="2016-01-0… | |
<br/> | |
<input type="date" class="date" min="2016-01-05" max="2016-01-08" /> | |
-<!--[if lte IE 8]><script type="text/javascript" src="../compat.js"></script><… | |
<script type="text/javascript" src="datepicker.js"></script> | |
</body> |