-
Notifications
You must be signed in to change notification settings - Fork 0
/
testo.html
47 lines (40 loc) · 1.07 KB
/
testo.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>Solo Quest</title>
<link rel="stylesheet" href="css/solitario.css"/>
<script type="text/javascript" src="js/fx.js" charset="UTF-8"></script>
<script type="text/javascript" src="js/init.js" charset="UTF-8"></script>
<script type="text/javascript">
getJsonAvventure();
var avventura = "LaProva";
function getAvventura() {
fadeIn();
getDatiAvventura();
mostraTesto();
}
function mostraTesto(){
document.getElementById('risultato').innerHTML = dati.testo;
}
function gioca() {
changePage("solo.html#"+avventura);
}
function home() {
changePage("index.html");
}
window.onload = getAvventura;
</script>
</head>
<body class="buio testoBody">
<div class="container">
<div class="testoContent">
<div id="risultato"> </div>
<br/>
<input type="button" class="buttonBack" value="< Home" onclick="home();"/>
<input type="button" class="button" value="Gioca" onclick="gioca();"/>
</div>
</div>
</body>
</html>