-
Notifications
You must be signed in to change notification settings - Fork 0
/
token_guildsofravnica.html
91 lines (79 loc) · 3.74 KB
/
token_guildsofravnica.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
<head>
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
</head>
<body>
<h1>Guilds of Ravnica</h1>
<p>
<select class="choser" onchange="changer()" id="chose">
<option value="0">-----</option>
<option value="1">Angle</option>
<option value="2">Soldier</option>
<option value="3">Bird Illusion</option>
<option value="4">Goblin</option>
<option value="5">Elf Knight</option>
<option value="6">Insect</option>
<option value="7">Ral Rmblem</option>
<option value="8">Vraska Emblem</option>
</select>
<div id="token"><img src="images/token/guilds/logo.png" alt=""></div>
<br>
</p>
<button onclick="window.location.href = 'tokenstart.html';" class="back">Zurück</button><button onclick="window.location.href = 'start.html';" class="back">Start</button>
<script>
function changer() {
x = document.querySelector("#chose").value;
if (x == 0) {
document.getElementById("token").innerHTML = `<img src="images/token/guilds/logo.png" alt="">`;
} else if (x == "1") {
document.getElementById("token").innerHTML = `<img src="images/token/abstand.PNG" alt=""><img class="tokens" src="images/token/guilds/angle.PNG" alt="Missing img">`;
} else if (x == "2") {
document.getElementById("token").innerHTML = `<img src="images/token/abstand.PNG" alt=""><img class="tokens" src="images/token/guilds/soldier.PNG" alt="Missing img">`;
} else if (x == "3") {
document.getElementById("token").innerHTML = `<img src="images/token/abstand.PNG" alt=""><img class="tokens" src="images/token/guilds/bird.PNG" alt="Missing img">`;
} else if (x == "4") {
document.getElementById("token").innerHTML = `<img src="images/token/abstand.PNG" alt=""><img class="tokens" src="images/token/guilds/goblin.PNG" alt="Missing img">`;
} else if (x == "5") {
document.getElementById("token").innerHTML = `<img src="images/token/abstand.PNG" alt=""><img class="tokens" src="images/token/guilds/elf.PNG" alt="Missing img">`;
} else if (x == "6") {
document.getElementById("token").innerHTML = `<img src="images/token/abstand.PNG" alt=""><img class="tokens" src="images/token/guilds/insect.PNg" alt="Missing img">`;
} else if (x == "7") {
document.getElementById("token").innerHTML = `<img src="images/token/abstand.PNG" alt=""><img class="tokens" src="images/token/guilds/ral_emblem.PNG" alt="Missing img">`;
} else if (x == "8") {
document.getElementById("token").innerHTML = `<img src="images/token/abstand.PNG" alt=""><img class="tokens" src="images/token/guilds/vraska_emblem.PNG" alt="Missing img">`;
}
}
</script>
<style>
.tokens {
transform: rotate(270deg);
width: 452.92px;
height: 626.99px;
}
h1 {
font-size: 40px;
margin: 0px;
font-family: 'Roboto', sans-serif;
}
a {
font-size: 25px;
font-family: 'Roboto', sans-serif;
}
.choser {
font-family: 'Roboto', sans-serif;
width: 300px;
height: 50px;
font-size: 20px;
}
.back {
background-color: #4CAF50;
color: white;
height: 30px;
width: 100px;
text-decoration: none;
font-size: 20px;
cursor: pointer;
font-family: 'Roboto', sans-serif;
border: none;
}
</style>
</body>