This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
/
index.html
75 lines (60 loc) · 2.34 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>とけてなくなる</title>
<meta name="Keywords" content="バンド、作詞、作曲">
<meta name="Description" content="とけてなくなるというバンドのHPです。">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
$("#header").load("header.html");
$("#footer").load("footer.html");
$("#menu").load("menu.html");
$("#info").load("info.html");
// load information path
var num = ["161203","161204","161231","170110","170122","170125"];
jQuery.each(num,function() {
var path = 'info/'+ this + '.html';
$("#" + this).load(path);
});
})
</script>
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- FONT
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="icon" type="image/png" href="images/favicon.png">
</head>
<body>
<div class="container">
<nav id="header"></nav>
<div id="menu"></div>
</div>
<div class="container">
<div id="contents">
<h2 class="info">Information</h2>
<p id="infomation"></p>
<script>
// get information iterative
var hoge = ""
var id = ["170125","170122","170110","161231","161204","161203"];
$.each(id,function(i,value){
hoge += "<section class='sec'><div id=\'" + value + "\'</div></section>";
});
var elem = document.getElementById("infomation");
elem.innerHTML = hoge
</script>
</div>
<div id="footer"></div>
</div>
</body>
</html>