-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (52 loc) · 1.77 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
<!DOCTYPE html>
<html>
<head>
<title>MY VIEW</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link href='http://fonts.googleapis.com/css?family=Loved+by+the+King' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<script type="text/javascript"src="buildings.json"></script>
</head>
<body>
<div id="wrapper">
<h1 class="title">This is my view</h1>
<img src="images/bg.jpg" id="bg">
<!-- buildings.json -->
<script type="text/javascript">
for (var i=0; i<buildings.length; i++){
document.write(
'<div class="visual ' + buildings[i].id + '" data-name="' + buildings[i].id + '"><div class="name"><span>' + buildings[i].name + '</span></div><img src="images/asterisk.png" alt="view more" class="marker"></div>'
);
}
</script>
<div class="eye"></div>
</div>
<div class="more">
<div class="toggle cross"><img src="images/close.png" alt="close" /></div>
<h2 id="buildingname"></h2>
<p id="buildinginfo"></p>
<div class="googleit">
<p>Some relevant images from Google...</p>
<div id="content">Searching...</div>
<div id="branding"></div>
</div>
<div class="toggle bar"><img src="images/ico_up.png" alt="close" /></div>
</div>
<div id="reloading" class="spinner circles">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<!-- jQuery --><script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="js/view.js"></script>
<script src="https://www.google.com/jsapi"></script> <!-- Google image search api -->
<script src="js/search.js"></script>
</body>
</html>