-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path360.html
More file actions
70 lines (67 loc) · 2.65 KB
/
360.html
File metadata and controls
70 lines (67 loc) · 2.65 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
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
<!DOCTYPE html>
<html lang="en">
<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">
<title>Photo 360</title>
<link rel="shortcut icon" href="https://bintangfadhlio.blogspot.com/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="script/style.css">
<script src="script/kaleidoscope.min.js"></script>
</head>
<body>
<div class="nav">
<input type="checkbox" id="nav-check">
<div class="nav-header">
<div class="nav-title">
<a href="index.html">
<img src="img/logo.png" height="50px" style="margin: 0px 30px">
</a>
</div>
</div>
<div class="nav-btn">
<label for="nav-check">
<span></span>
<span></span>
<span></span>
</label>
</div>
<div class="nav-links">
<a href="index.html">Home</a>
<a href="image.html">Image Manipulation</a>
<a href="animation.html">Animation Images</a>
<a href="audio.html">Audio</a>
<a href="video.html">Video</a>
<a class="active" href="360.html">Photo 360</a>
<a href="about.html">About Me</a>
</div>
</div>
<br>
<h1 class="center" style="font-size: 42px; color: white; text-align: center; text-shadow: 2px 2px 4px #000000;">
Photo 360
</h1>
<div id="photo360" style="margin-left: 200px;"></div>
<br>
<button onclick="grey()" class="center" style="font-size: 32px; color: black; text-align: center;">Press Me</button>
<br>
<br>
<script>
(function() {
var viewer = new Kaleidoscope.Image({
source: '360/binus360.jpg',
containerId: '#photo360',
height: window.innerHeight-250,
width: window.innerWidth-400,
});
viewer.render();
window.onresize = function() {
viewer.setSize({height: window.innerHeight, width: window.innerWidth});
};
})();
function grey() {
var x = document.getElementById("photo360");
x.style.filter = "grayscale(100%)";
}
</script>
</body>
</html>