This repository has been archived by the owner on Aug 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 94
/
index.html
62 lines (55 loc) · 2.25 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Themeroller-Ready jQuery UI Range Picker</title>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/themes/redmond/jquery-ui.css" type="text/css" />
<link rel="stylesheet" href="css/ui.daterangepicker.css" type="text/css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/date.js"></script>
<script type="text/javascript" src="js/daterangepicker.jQuery.js"></script>
<script type="text/javascript">
$(function(){
$('#rangeA').daterangepicker();
$('#rangeBa, #rangeBb').daterangepicker();
$('#rangeC').daterangepicker({arrows: true});
$('#rangeD').daterangepicker();
$('#rangeE').daterangepicker({constrainDates: true});
});
</script>
<!-- from here down, demo-related styles and scripts -->
<!-- from here down, demo-related styles and scripts -->
<link rel="shortcut icon" href="/images/favicon2.ico" type="image/x-icon" />
<link href="/style/demoPages" media="screen" rel="Stylesheet" type="text/css" />
<style type="text/css">
body { font-size: 62.5%; }
input {width: 196px; height: 1.1em; display:block;}
h2 { clear: both; padding: 2em 0 0; }
#rangeBa,#rangeBb { float: left; margin-right: 10px; }
</style>
</head>
<body>
<h2>Default Rangepicker</h2>
<div>
<input type="text" value="4/23/99" id="rangeA" />
</div>
<h2>2 inputs Rangepicker</h2>
<div>
<input type="text" value="4/23/99" id="rangeBa" />
<input type="text" value="4/23/99" id="rangeBb" />
</div>
<h2>Rangepicker with arrows</h2>
<div>
<input type="text" value="4/23/99" id="rangeC" />
</div>
<h2>Rangepicker opening to the right</h2>
<div style="float: right;">
<input type="text" value="4/23/99" id="rangeD" />
</div>
<h2>Rangepicker with contraints</h2>
<div>
<input type="text" value="4/23/99" id="rangeE" />
</div>
</body>
</html>