This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sta-t-weekday.html
242 lines (171 loc) · 8.95 KB
/
sta-t-weekday.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!doctype html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-112856107-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-112856107-1');
</script>
<meta charset="utf-8">
<title>辻堂駅北口</title><link rel="shortcut icon" href="img/sta-t.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=yes" />
<script type="text/javascript" src="jikoku/sta-t-weekday.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css"> <!-- WebApp用 --> <meta name="mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript">
var today=new Date();
var year=today.getFullYear();
var month=today.getMonth();
month++;
var date=today.getDate();
var yearmonthdate=year+"#"+month+"#"+date;
if(yearmonthdate=="2017#1#1"||yearmonthdate=="2017#1#2"||yearmonthdate=="2017#1#9"||yearmonthdate=="2017#2#11"||yearmonthdate=="2017#3#20"||yearmonthdate=="2017#4#29"||yearmonthdate=="2017#5#3"||yearmonthdate=="2017#5#4"||yearmonthdate=="2017#5#5"||yearmonthdate=="2017#7#17"||yearmonthdate=="2017#8#11"||yearmonthdate=="2017#9#18"||yearmonthdate=="2017#9#23"||yearmonthdate=="2017#10#9"||yearmonthdate=="2017#11#3"||yearmonthdate=="2017#11#23"||yearmonthdate=="2017#12#23"||yearmonthdate=="2018#1#1"||yearmonthdate=="2018#1#8"||yearmonthdate=="2018#2#11"||yearmonthdate=="2018#2#12"||yearmonthdate=="2018#3#21"||yearmonthdate=="2018#4#29"||yearmonthdate=="2018#4#30"||yearmonthdate=="2018#5#3"||yearmonthdate=="2018#5#4"||yearmonthdate=="2018#5#5"||yearmonthdate=="2018#7#16"||yearmonthdate=="2018#8#11"||yearmonthdate=="2018#9#17"||yearmonthdate=="2018#9#23"||yearmonthdate=="2018#9#24"||yearmonthdate=="2018#10#8"||yearmonthdate=="2018#11#3"||yearmonthdate=="2018#11#23"||yearmonthdate=="2018#12#23"||yearmonthdate=="2018#12#24"||yearmonthdate=="2019#1#1"||yearmonthdate=="2019#1#14"||yearmonthdate=="2019#2#11"||yearmonthdate=="2019#3#21"||yearmonthdate=="2019#4#29"||yearmonthdate=="2019#5#3"||yearmonthdate=="2019#5#4"||yearmonthdate=="2019#5#5"||yearmonthdate=="2019#5#6"||yearmonthdate=="2019#7#15"||yearmonthdate=="2019#8#11"||yearmonthdate=="2019#8#12"||yearmonthdate=="2019#9#16"||yearmonthdate=="2019#9#23"||yearmonthdate=="2019#10#14"||yearmonthdate=="2019#11#3"||yearmonthdate=="2019#11#4"||yearmonthdate=="2019#11#23"||yearmonthdate=="2019#12#23"||yearmonthdate=="2020#1#1"||yearmonthdate=="2020#1#13"||yearmonthdate=="2020#2#11"||yearmonthdate=="2020#3#20"||yearmonthdate=="2020#4#29"||yearmonthdate=="2020#5#3"||yearmonthdate=="2020#5#4"||yearmonthdate=="2020#5#5"||yearmonthdate=="2020#5#6"||yearmonthdate=="2020#7#20"||yearmonthdate=="2020#8#11"||yearmonthdate=="2020#9#21"||yearmonthdate=="2020#9#22"||yearmonthdate=="2020#10#12"||yearmonthdate=="2020#11#3"||yearmonthdate=="2020#11#23"||yearmonthdate=="2020#12#23"||yearmonthdate=="2021#1#1"||yearmonthdate=="2021#1#11"||yearmonthdate=="2021#2#11"||yearmonthdate=="2021#3#20"||yearmonthdate=="2021#4#29"||yearmonthdate=="2021#5#3"||yearmonthdate=="2021#5#4"||yearmonthdate=="2021#5#5"||yearmonthdate=="2021#7#19"||yearmonthdate=="2021#8#11"||yearmonthdate=="2021#9#20"||yearmonthdate=="2021#9#23"||yearmonthdate=="2021#10#11"||yearmonthdate=="2021#11#3"||yearmonthdate=="2021#11#23"||yearmonthdate=="2021#12#23"||yearmonthdate=="2022#1#1"||yearmonthdate=="2022#1#10"||yearmonthdate=="2022#2#11"||yearmonthdate=="2022#3#21"||yearmonthdate=="2022#4#29"||yearmonthdate=="2022#5#3"||yearmonthdate=="2022#5#4"||yearmonthdate=="2022#5#5"||yearmonthdate=="2022#7#18"||yearmonthdate=="2022#8#11"||yearmonthdate=="2022#9#19"||yearmonthdate=="2022#9#23"||yearmonthdate=="2022#10#10"||yearmonthdate=="2022#11#3"||yearmonthdate=="2022#11#23"||yearmonthdate=="2022#12#23"){
window.location.href = 'sta-t-holiday.html';
}
var day=today.getDay();
if(day==0){
window.location.href = 'sta-t-holiday.html';
}
if(day==6){
window.location.href = 'sta-t-saturday.html';
}
</script>
</head>
<body>
<script type="text/javascript">
function getrealtime(){
var today=new Date();
var hour=today.getHours();
var minute=today.getMinutes();
var second=today.getSeconds();
var n_m=no[cnt].bt_hour*60+no[cnt].bt_minute-(hour*60+minute)-1;
var n_s=60-second;
if(n_s==60){
n_m=n_m+1;
n_s=0;
}
if(n_m<0){
cnt=cnt+1;
load=1;
}else{
load=0;
}
if (load==1){
document.getElementById("loading").style.display="block";
document.getElementById("main").style.display="none";
}
else{
document.getElementById("loading").style.display="none";
document.getElementById("main").style.display="block";
}
n_s=("00"+n_s).slice(-2);
var hm=no[cnt].bt_minute;
hm=("0"+hm).slice(-2);
var hm1=no[cnt+1].bt_minute;
hm1=("0"+hm1).slice(-2);
var hm2=no[cnt+2].bt_minute;
hm2=("0"+hm2).slice(-2);
var hm3=no[cnt+3].bt_minute;
hm3=("0"+hm3).slice(-2);
var hm4=no[cnt+4].bt_minute;
hm4=("0"+hm4).slice(-2);
document.getElementById("next_h").innerHTML = no[cnt].bt_hour;
document.getElementById("next_m").innerHTML = hm;
document.getElementById("next_kind").innerHTML = no[cnt].bt_kind;
document.getElementById("next1_h").innerHTML = no[cnt+1].bt_hour;
document.getElementById("next1_m").innerHTML = hm1;
document.getElementById("next1_kind").innerHTML = no[cnt+1].bt_kind;
document.getElementById("next2_h").innerHTML = no[cnt+2].bt_hour;
document.getElementById("next2_m").innerHTML = hm2;
document.getElementById("next2_kind").innerHTML = no[cnt+2].bt_kind;
document.getElementById("next3_h").innerHTML = no[cnt+3].bt_hour;
document.getElementById("next3_m").innerHTML = hm3;
document.getElementById("next3_kind").innerHTML = no[cnt+3].bt_kind;
document.getElementById("next4_h").innerHTML = no[cnt+4].bt_hour;
document.getElementById("next4_m").innerHTML = hm4;
document.getElementById("next4_kind").innerHTML = no[cnt+4].bt_kind;
document.getElementById("minutehyouji").innerHTML = n_m;
document.getElementById("secondhyouji").innerHTML = n_s;
}
setInterval('getrealtime()',10);
function nobusreal(){
if(no[cnt].bt_minute=="--"){
window.location.href = 'no-bus.html';
}
}
setInterval('nobusreal()',1000);
</script>
<div id="loading">
Now Loading...
</div>
<div id="main">
<div class="bus-stop-name">辻堂駅北口</div>
<div class="bus-stop-info">慶応大学方面・3番のりば<br>
【平日】</div><br>
<table width="100%"><tr><td width="45%"><span id="next_h">00</span>
時
<span id="next_m">00</span>
分発<br>
<span id="next_kind">バスの種類</span>
<br>
まであと</td>
<td width="55%">
<div class="nokoritime">
<span id="minutehyouji">00</span>分
<span id="secondhyouji">00</span>秒
</div>
</td>
</tr>
</table>
<br>
<span id="next1_h">00</span>
:
<span id="next1_m">00</span>
<span id="next1_kind">バスの種類</span><br>
<span id="next2_h">00</span>
:
<span id="next2_m">00</span>
<span id="next2_kind">バスの種類</span><br>
<span id="next3_h">00</span>
:
<span id="next3_m">00</span>
<span id="next3_kind">バスの種類</span><br>
<span id="next4_h">00</span>
:
<span id="next4_m">00</span>
<span id="next4_kind">バスの種類</span><br><br>
</div>
<table width="100%" border="1" bordercolor="#000000" style="border-collapse: collapse;">
<tr height="50px">
<td width="50%">
<a style="width:100%; height:100%; display:block;" onclick="window.location.href = 'ku-t-weekday.html';" class="undermenu">
<center><div style="height:50px; display: table-cell; vertical-align: middle;">慶応大学<br>(ロータリー)</div></center>
</a>
</td>
<td width="50%">
<a style="width:100%; height:100%; display:block;" onclick="window.location.href = 'kh-t-weekday.html';" class="undermenu">
<center><div style="height:50px; display: table-cell; vertical-align: middle;">慶応大学本館前</div></center>
</a>
</td>
</tr>
<tr height="50px">
<td colspan="2">
<a style="width:100%; height:100%; display:block;" onclick="window.location.href = 'sta-t-weekday-j.html';" class="undermenu">
<center><div style="height:50px; display: table-cell; vertical-align: middle;">時刻表をみる</div></center>
</td>
</tr>
<tr height="50px">
<td colspan="2">
<a style="width:100%; height:100%; display:block;" onclick="window.location.href = 'index.html';" class="undermenu">
<center><div style="height:50px; display: table-cell; vertical-align: middle;">トップ</div></center>
</td>
</tr>
</table>
</body>
</html>