This repository has been archived on 2024-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
Araldia/index.html

164 lines
4.0 KiB
HTML
Raw Normal View History

2021-04-04 23:55:21 +02:00
<!DOCTYPE html>
<html>
<title>Araldia</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
2021-05-19 22:07:25 +02:00
<meta charset="UTF-8">
2021-10-13 20:26:35 +02:00
<link href="imports/nes.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="imports/shake.css">
<link rel="stylesheet" href="imports/font-awesome-4.7.0/css/font-awesome.min.css"/>
2021-04-04 23:55:21 +02:00
2021-05-08 19:11:16 +02:00
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
2021-10-13 20:26:35 +02:00
<script>
google.charts.load('current', { 'packages': ['corechart'] });
2021-05-20 06:53:20 +02:00
2021-10-13 20:26:35 +02:00
</script>
<script src="imports/jquery-3.6.0.min.js"></script>
<link rel="stylesheet" href="style.css" />
2021-05-20 06:53:20 +02:00
<body>
<div id="splash">
<center>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<h1 id="clicktobeg">Clicca per iniziare</h1>
<img src="mdglogo.png" id="splashImg" />
</center>
</div>
2021-10-13 20:26:35 +02:00
<div class="nes-container is-rounded is-dark" id="musicBox">
2021-05-20 06:53:20 +02:00
<p id="mTitle"></p>
2021-10-13 20:26:35 +02:00
<button onclick="noaud()" style="background-color:black"><i class="fa fa-volume-off"
aria-hidden="true"></i></button>
<button onclick="DAudio(-10)" style="background-color:black"><i class="fa fa-volume-down"
aria-hidden="true"></i></button>
<button onclick="DAudio(+10)" style="background-color:black"><i class="fa fa-volume-up"
aria-hidden="true"></i></button>
2021-05-20 06:53:20 +02:00
</div>
2021-10-13 20:26:35 +02:00
<script>
setInterval(function () {
try {
var g = audio.src.split("/");
$("#mTitle").text("Volume:" + Math.round(audio.volume * 100) + "%");
2021-05-20 06:53:20 +02:00
}
2021-10-13 20:26:35 +02:00
catch (e) {
2021-05-20 06:53:20 +02:00
}
2021-10-13 20:26:35 +02:00
}, 100);
function DAudio(a) {
if ((audio.volume + (a * 0.01) < 0) || (audio.volume + (a * 0.01) > 1)) return false;
audio.volume += (a * 0.01);
}
function noaud() {
audio.volume = 0;
}
</script>
2021-05-20 06:53:20 +02:00
<div class="nes-container is-rounded is-dark" id="tooTpk">
<p id="tooltT">Good morning. Thou hast had a good night's sleep, I hope.</p>
</div>
2021-10-13 20:26:35 +02:00
<div class="nes-container with-title is-centered" id="countV">
2021-05-20 06:53:20 +02:00
<p class="title" style="background-color: black;" id="vName"></p>
2021-10-13 20:26:35 +02:00
<i id="vDesc"></i>
<div id="cts"></div>
</div>
2021-05-20 06:53:20 +02:00
<div class="nes-container with-title is-centered" id="error">
<p class="title" style="background-color: black;">Errore!</p>
<p id="errorData"></p>
<button type="button" class="nes-btn " onclick="error();">Chiudi</button><br />
<i>Controlla la console per più informazioni</i>
</div>
<script>
function error() {
$(this).parent().hide();
if (deadlyError) {
location.reload();
}
}
</script>
<header>
<br />
<br />
<h1>Araldia</h1>
<i>Presidente, abbiamo bisogno del suo aiuto!</i>
<center>
<div id="levels" style="z-index:9999999999;"></div>
</center>
</header>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
2021-10-13 20:26:35 +02:00
<div id="beginSect2">
<br />
<marquee width="60%" direction="up" height="400px;" scrolldelay="400" id="mq2">
</marquee>
<a href="javascript:location.reload();">Riavvia</a>
</div>
2021-05-20 06:53:20 +02:00
<div id="content">
<center>
<div id="virusBeginOhNo" class="closableVir"> </div>
<div id="mainMenu">
<div id="masthead"></div>
<br />
<input type="text" placeholder="Nome" id="username" class="nes-input is-dark" style="width:300px"><br />
<div class="nes-select is-dark" style="width:300px">
<select required id="dfficultySelect">
<option value="30">Mammina aiuto</option>
<option value="40">Difficile</option>
<option value="50" selected>Normale</option>
<option value="60">Facile</option>
<option value="70">Potresti anche non giocare a questo punto</option>
</select>
</div>
<button id="begin" class="nes-btn">All'ufficio</button>
</div>
<div id="beginSect">
<br />
<marquee width="60%" direction="up" height="400px;" scrolldelay="400" id="mq">
</marquee>
</div>
<div id="gameField">
</div>
</center>
</div>
<br />
<br />
<footer>
<h5> 2021, Mattia Mascarello, Diego
Scanavino, Giacomo Roggero</h5>
</footer>
2021-10-13 20:26:35 +02:00
<script src="main.js"></script>
2021-05-20 06:53:20 +02:00
</body>
2021-10-13 20:26:35 +02:00
</html>