-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnmbc.html
77 lines (67 loc) · 2.65 KB
/
nmbc.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
<!DOCTYPE html>
<html>
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/photo-sphere-viewer@4/dist/photo-sphere-viewer.min.css"/>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/three/build/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/uevent@2/browser.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/photo-sphere-viewer@4/dist/photo-sphere-viewer.min.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
<style>
/* the viewer container must have a defined size */
#viewer {
height: 512px;
width: 1024px;
margin:auto;
margin-top:20px;
border: solid black 2px;
}
#the-file-input {
font-style: italic;
font-weight: normal;
color: gray !important;
opacity: 1;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
color: #eee;
background-color: transparent !important;
border: none !important;
}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
border: none !important;
}
.nav-tabs .nav-link {
border: none !important;
}
a {
color: #aaa;
}
a:hover {
color: white;
text-decoration: none;
}
.nav-tabs {
border-bottom: none !important;
}
h4 {
color:#343a40;
}
</style>
</head>
<body>
<div class="container">
<div id="viewer"></div>
</div>
<script>
var viewer = new PhotoSphereViewer.Viewer({
container: document.querySelector('#viewer'),
panorama: 'images/TNBC_layout_preChristmas_V03.jpg'
});
</script>
</body>
</html>