aboutsummaryrefslogtreecommitdiff
path: root/static/development-bundle/demos/datepicker/min-max.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/development-bundle/demos/datepicker/min-max.html')
-rw-r--r--static/development-bundle/demos/datepicker/min-max.html31
1 files changed, 0 insertions, 31 deletions
diff --git a/static/development-bundle/demos/datepicker/min-max.html b/static/development-bundle/demos/datepicker/min-max.html
deleted file mode 100644
index 06a1776..0000000
--- a/static/development-bundle/demos/datepicker/min-max.html
+++ /dev/null
@@ -1,31 +0,0 @@
1<!doctype html>
2<html lang="en">
3<head>
4 <title>jQuery UI Datepicker - Restrict date range</title>
5 <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
6 <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
7 <script type="text/javascript" src="../../ui/ui.core.js"></script>
8 <script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
9 <link type="text/css" href="../demos.css" rel="stylesheet" />
10 <script type="text/javascript">
11 $(function() {
12 $("#datepicker").datepicker({minDate: -20, maxDate: '+1M +10D'});
13 });
14 </script>
15</head>
16<body>
17
18<div class="demo">
19
20<p>Date: <input type="text" id="datepicker"></p>
21
22</div><!-- End demo -->
23
24<div class="demo-description">
25
26<p>Restrict the range of selectable dates with the <code>minDate</code> and <code>maxDate</code> options. Set the beginning and end dates as actual dates (new Date(2009, 1 - 1, 26)), as a numeric offset from today (-20), or as a string of periods and units ('+1M +10D'). For the last, use 'D' for days, 'W' for weeks, 'M' for months, or 'Y' for years.</p>
27
28</div><!-- End demo-description -->
29
30</body>
31</html>