-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (87 loc) · 5.09 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
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="ja">
<head>
<script src="index.js"></script>
<link href="main.css" rel="stylesheet" type="text/css" media="all">
<meta charset="UTF-8"/>
<title>calender</title>
</head>
<body>
<h1>CALENDAR</h1>
<h2 class="status" id = "yearandmonth"><script>document.write(`${String(month)}/${String(year)}`);</script></h2>
<div class="monthchanger">
<div class="modoru" id ="modoru">
<p>←</p>
</div>
<div class="susumu" id="susumu">
<p>→</p>
</div>
</div>
<table class="calendar" border="1">
<thead>
<tr>
<th>SUN</th>
<th>MON</th>
<th>TUE</th>
<th>WED</th>
<th>THU</th>
<th>FRI</th>
<th>SAT</th>
</tr>
</thead>
<tr>
<td class = "day" id = "1"><script>document.write(dayarray[0]);</script></td>
<td class = "day" id = "2"><script>document.write(dayarray[1]);</script></td>
<td class = "day" id = "3"><script>document.write(dayarray[2]);</script></td>
<td class = "day" id = "4"><script>document.write(dayarray[3]);</script></td>
<td class = "day" id = "5"><script>document.write(dayarray[4]);</script></td>
<td class = "day" id = "6"><script>document.write(dayarray[5]);</script></td>
<td class = "day" id = "7"><script>document.write(dayarray[6]);</script></td>
</tr>
<tr>
<td class = "day" id="8"><script>document.write(dayarray[7]);</script></td>
<td class = "day" id="9"><script>document.write(dayarray[8]);</script></td>
<td class = "day" id="10"><script>document.write(dayarray[9]);</script></td>
<td class = "day" id="11"><script>document.write(dayarray[10]);</script></td>
<td class = "day" id="12"><script>document.write(dayarray[11]);</script></td>
<td class = "day" id="13"><script>document.write(dayarray[12]);</script></td>
<td class = "day" id="14"><script>document.write(dayarray[13]);</script></td>
</tr>
<td class = "day" id="15"><script>document.write(dayarray[14]);</script></td>
<td class = "day" id="16"><script>document.write(dayarray[15]);</script></td>
<td class = "day" id="17"><script>document.write(dayarray[16]);</script></td>
<td class = "day" id="18"><script>document.write(dayarray[17]);</script></td>
<td class = "day" id="19"><script>document.write(dayarray[18]);</script></td>
<td class = "day" id="20"><script>document.write(dayarray[19]);</script></td>
<td class = "day" id="21"><script>document.write(dayarray[20]);</script></td>
</tr>
<tr>
<td class = "day" id ="22"><script>document.write(dayarray[21]);</script></td>
<td class = "day" id ="23"><script>document.write(dayarray[22]);</script></td>
<td class = "day" id ="24"><script>document.write(dayarray[23]);</script></td>
<td class = "day" id ="25"><script>document.write(dayarray[24]);</script></td>
<td class = "day" id ="26"> <script>document.write(dayarray[25]);</script></td>
<td class = "day" id="27"><script>document.write(dayarray[26]);</script></td>
<td class = "day" id="28"><script>document.write(dayarray[27]);</script></td>
</tr>
<tr>
<td class = "day" id ="29"><script>document.write(dayarray[28]);</script></td>
<td class = "day" id ="30"><script>document.write(dayarray[29]);</script></td>
<td class = "day" id ="31"><script>document.write(dayarray[30]);</script></td>
<td class = "day" id ="32"><script>document.write(dayarray[31]);</script></td>
<td class = "day" id ="33"><script>document.write(dayarray[32]);</script></td>
<td class = "day" id ="34"><script>document.write(dayarray[33]);</script></td>
<td class = "day" id ="35"><script>document.write(dayarray[34]);</script></td>
</tr>
<tr>
<td class = "day" id ="36"><script>document.write(dayarray[35]);</script></td>
<td class = "day" id ="37"><script>document.write(dayarray[36]);</script></td>
<td class = "day" id ="38"><script>document.write(dayarray[37]);</script></td>
<td class = "day" id ="39"><script>document.write(dayarray[38]);</script></td>
<td class = "day" id ="40"><script>document.write(dayarray[39]);</script></td>
<td class = "day" id ="41"><script>document.write(dayarray[40]);</script></td>
<td class = "day" id ="42"><script>document.write(dayarray[41]);</script></td>
</tr>
</table>
</body>
</html>