-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
23 lines (22 loc) · 958 Bytes
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
<title>DatePicker Test</title>
<script type="text/javascript" src="/scriptaculous/prototype.js"></script>
<script type="text/javascript" src="/scriptaculous/scriptaculous.js"></script>
<script type="text/javascript" src="datepicker.js"></script>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="google-calendar-filter.js"></script>
<link type="text/css" rel="stylesheet" href="datepicker.css" />
</head>
<body>
<input type="text" id="fieldid" name="fieldname" value="" maxlength="10" size="10" />
<script type="text/javascript">
var dpck_fieldname = new DatePicker({
relative:'fieldid',
keepFieldEmpty:true,
dateFilter:DatePickerUtils.noWeekends().append(DatePickerUtils.noDatesBefore(1.5)).append(DatePickerUtils.noDatesAfter(240)),
});
dpck_fieldname._dateFilter.append(new GoogleDatePickerFilter(dpck_fieldname, '[email protected]'));
</script>
</body>
</html>