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
2021-10-13 20:26:35 +02:00

164 lines
4.0 KiB
HTML

<!DOCTYPE html>
<html>
<title>Araldia</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<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"/>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script>
google.charts.load('current', { 'packages': ['corechart'] });
</script>
<script src="imports/jquery-3.6.0.min.js"></script>
<link rel="stylesheet" href="style.css" />
<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>
<div class="nes-container is-rounded is-dark" id="musicBox">
<p id="mTitle"></p>
<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>
</div>
<script>
setInterval(function () {
try {
var g = audio.src.split("/");
$("#mTitle").text("Volume:" + Math.round(audio.volume * 100) + "%");
}
catch (e) {
}
}, 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>
<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>
<div class="nes-container with-title is-centered" id="countV">
<p class="title" style="background-color: black;" id="vName"></p>
<i id="vDesc"></i>
<div id="cts"></div>
</div>
<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 />
<div id="beginSect2">
<br />
<marquee width="60%" direction="up" height="400px;" scrolldelay="400" id="mq2">
</marquee>
<a href="javascript:location.reload();">Riavvia</a>
</div>
<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>
<script src="main.js"></script>
</body>
</html>