-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
119 lines (101 loc) · 4.32 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Giornata della Scienza</title>
<link href="style.css" type="text/css" rel="stylesheet">
<link href="menustyle.css" type="text/css" rel="stylesheet">
<script src="https://aframe.io/releases/0.8.0/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.6.0/aframe/build/aframe-ar.js"></script>
<script type="text/javascript">
function openNav() {
document.getElementById("myNav").style.width = "270px";
document.getElementById("cls").style.display = "none";
}
function closeNav() {
document.getElementById("myNav").style.width = "0%";
document.getElementById("cls").style.display = "block";
}
function SunFunction() {
document.getElementById("screen").src = "Planets/Sun.html";
}
function SolarSystmeFunction() {
document.getElementById("screen").src = "Planets/ARDemo.html";
}
function CarFunctions() {
document.getElementById("screen").src = "Showroom/JeepAR.html";
}
function MercuryFunction() {
document.getElementById("screen").src = "Planets/ALL/Mercury.html";
}
function SaturnFunction() {
document.getElementById("screen").src = "Planets/ALL/Saturn.html";
}
function VenusFunction() {
document.getElementById("screen").src = "Planets/ALL/Venus.html";
}
function EarthFunction() {
document.getElementById("screen").src = "Planets/ALL/Earth.html";
}
function MarsFunction() {
document.getElementById("screen").src = "Planets//ALL/Mars.html";
}
function JupyterFunction() {
document.getElementById("screen").src = "Planets/ALL/Jupyter.html";
}
function UranusFunction() {
document.getElementById("screen").src = "Planets/ALL/Uranus.html";
}
function NeptuneFunction() {
document.getElementById("screen").src = "Planets/ALL/Neptune.html";
}
function funzionemoon() {
document.getElementById("screen").src = "Planets/ALL/Moon.html";
}
function ShowroomFunction() {
document.getElementById("screen").src = "Showroom/Showroom.html";
}
</script>
</head>
<body overflow="hidden">
<div id="myNav" class="overlay">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()" style="left:210px">×</a>
<div class="overlay-content"><br>
<ul>
<li> <a href="#" onclick="SolarSystmeFunction()">Sistema Solare</a></li>
<li> <a href="#" onclick="CarFunctions()">Macchina</a></li>
<li> <a href="#" onclick="ShowroomFunction()">Showroom</a></li>
<li id="astri"><a>Astri:</a></li>
<ul style="padding-left:15px">
<li><a href="#" onclick="SunFunction()">Sole</a></li>
<li><a href="#" onclick="MercuryFunction()">Mercurio</a></li>
<li><a href="#" onclick="VenusFunction()">Venere</a></li>
<li><a href="#" onclick="EarthFunction()">Terra</a></li>
<li><a href="#" onclick="funzionemoon()">Luna</a></li>
<li><a href="#" onclick="MarsFunction()">Marte</a></li>
<li><a href="#" onclick="SaturnFunction()">Saturno</a></li>
<li><a href="#" onclick="JupyterFunction()">Giove</a></li>
<li><a href="#" onclick="UranusFunction()">Urano</a></li>
<li><a href="#" onclick="NeptuneFunction()">Nettuno</a></li>
</ul>
<li><a id="license" href="titles.html">Riconoscimenti</a></li>
</ul>
</div>
</div>
<div class="header">
<div id="cls" class="container">
<div onclick="openNav()" id="cls">
<div class="icona"></div>
<div class="icona"></div>
<div class="icona"></div>
</div>
</div>
</div>
<div id="main">
<iframe src="Planets/ARDemo.html" id="screen"></iframe>
</div>
<div id="bot" align="center">
<img src="res/logo19.png" alt="ERROR" id="logo">
</div>
</body>
</html>