-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsoft.html
More file actions
31 lines (31 loc) · 1.44 KB
/
soft.html
File metadata and controls
31 lines (31 loc) · 1.44 KB
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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="main.css">
<title>旧・海城中高物理部</title>
</head>
<body class="text-center container">
<div class="empty1 col-xs-0 col-lg-2"></div><div class="main col-xs-12 col-lg-8">
<h2>旧・海城中高物理部</h2>
<p id="timer">5秒後に新しいサイトの作品ページへ自動で転送されます。</p>
<p id="link">新・サイト<a href="https://kaijo-physics-club.work/gallery.html">https://kaijo-physics-club.work/gallery.html</a></p>
</div><div class="empty2 col-xs-0 col-lg-2"></div>
<script>
var time = 6;
var countdown = function() {
time--;
document.getElementById('timer').innerHTML = time + '秒後に新しいサイトへ自動で転送されます。'
var id = setTimeout(countdown, 1000);
if(time == 0){
clearTimeout(id);
location.href = "https://kaijo-physics-club.work/gallery.html"
}
}
countdown();
</script>
</body>
</html>