-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHowToPlay.html
151 lines (129 loc) · 3.45 KB
/
HowToPlay.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="GameChoice.css" type ="text/css">
<meta charset="utf-8">
<link rel="icon"
href="Asset/euro_flag.jpg" />
<title>HowToPlay</title>
<style type="text/css">
.show{
animation-timing-function:linear;
animation-delay:0s;
animation-name: choose;
animation-duration:.5s;
animation-iteration-count:1;
animation-play-state:running;
animation-fill-mode: forwards;
-webkit-animation-timing-function:linear;
-webkit-animation-delay:0s;
-webkit-animation-name: choose;
-webkit-animation-duration:.5s;
-webkit-animation-iteration-count:1;
-webkit-animation-play-state:running;
-webkit-animation-fill-mode: forwards;
}
@keyframes choose /* Safari and Chrome */ {
from {
visibility:visible;
transform:scale(0,0);
}
to {
visibility:visible;
}
}
@-webkit-keyframes choose /* Safari and Chrome */ {
from {
visibility:visible;
-webkit-transform:scale(0,0);
}
to {
visibility:visible;
}
}
/***************************************************/
.go{
animation-timing-function:linear;
animation-delay:0s;
animation-name: go;
animation-duration:.5s;
animation-iteration-count:1;
animation-play-state:running;
animation-fill-mode: forwards;
-webkit-animation-timing-function:linear;
-webkit-animation-delay:0s;
-webkit-animation-name: go;
-webkit-animation-duration:.5s;
-webkit-animation-iteration-count:1;
-webkit-animation-play-state:running;
-webkit-animation-fill-mode: forwards;
}
@keyframes go /* Safari and Chrome */ {
from {
visibility:visible;
}
to {
transform:scale(0,0);
}
}
@-webkit-keyframes go /* Safari and Chrome */ {
from {
visibility:visible;
}
to {
-webkit-transform:scale(0,0);
}
}
</style>
</head>
<body onLoad="palayMusic();">
<script type="text/javascript">
function palayMusic(){
var music = document.getElementById("music");
music.play();
var contain = document.getElementById("container");
contain.style.backgroundImage = "url(Asset/cyprusfinal1.gif)"
var Images = [ "url(Asset/finlandfinal.gif)" ,
"url(Asset/italy.jpg)" , "url(Asset/polandfinal.gif)" , "url(Asset/spain.jpg)",
"url(Asset/spain.jpg)" , "url(Asset/romaniafinal.gif" , "url(Asset/cyprusfinal1.gif)"];
var is_firefox = navigator.userAgent.indexOf('Firefox');
if(is_firefox !=-1){
var curImgId = 0;
var numberOfImages = 6;
setInterval(function dosome() { contain.style.backgroundImage = Images[curImgId];
curImgId = (curImgId + 1) % numberOfImages;
} , 1700);
}
}
var choose = document.getElementById("choose");
function show_choose(){
document.getElementById("choose").className ='show';
}
function hidde_choose(){
document.getElementById("choose").className ='go';
}
</script>
<div id="container">
<div id="header">
<h2>Instructions</h2>
</div>
<div id="main"> <img id="garos" src="Asset/logo.gif" width="600px" height="600px" >
<div id="list_menu">
<ul>
<li><a href="MatchingInstructions.html" onClick="show_choose();">Matching</a> </li>
<li></li>
<li><a href="SpottheCountryInformation.html">Spot The Country</a></li>
<li></li>
<li><a href="WhoKnowsInstruction.html">Who Knows?</a></li>
<li><a href="Index2.html">Home</a></li>
<li></li>
</ul>
</div>
</div>
<audio id="music" autoplay loop>
<source src="Asset/background_sounds/Dont_Turn_Back.ogg" >
<source src="Asset/background_sounds/Dont_Turn_Back.mp3" >
</audio>
</div>
</body>
</html>