-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (58 loc) · 1.75 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en" style="height:100%">
<head>
<title>Calendar</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="calendar.css?d=3671556" type="text/css"/>
<script type='text/JavaScript' src='calendar.js'></script>
<script type='text/JavaScript'>
var config = {
format: 'd.m.Y',
start_year: 1970,
end_year: 2030
};
window.onload = function () {
SimpleCalendar.observe_escape();
var begin_date = document.getElementById("begin_date");
SimpleCalendar.assign(begin_date, config);
SimpleCalendar.assign("#end_date", config);
SimpleCalendar.assign("#date11", config);
SimpleCalendar.assign("#date12", config);
SimpleCalendar.assign("#date21", config);
SimpleCalendar.assign("#date22", config);
}
</script>
</head>
<body style="height:100%;padding:0;margin:0;">
<table style="width:100%;height:100%">
<tr>
<td style="vertical-align: top;text-align:left">
<input type="text" name="date11" id="date11"> left top
</td>
<td style="text-align: center">
<h2>Calendar</h2>
<table style="margin:0 auto">
<tr>
<td>Date range:</td>
<td><input type="text" name="begin_date" id="begin_date" value="30.12.1998"></td>
<td><input type="text" name="end_date" id="end_date"></td>
</tr>
</table>
</td>
<td style="vertical-align: top;text-align:right">
right top <input type="text" name="date12" id="date12">
</td>
</tr>
<tr>
<td style="vertical-align: bottom;text-align:left">
<input type="text" name="date21" id="date21"> left bottom
</td>
<td>
</td>
<td style="vertical-align: bottom;text-align:right">
right bottom <input type="text" name="date22" id="date22">
</td>
</tr>
</table>
</body>
</html>