-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathItalianWords.html
224 lines (205 loc) · 6.81 KB
/
ItalianWords.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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="wordSounds.css" type ="text/css">
<meta charset="utf-8">
<link rel="icon"
href="Asset/euro_flag.jpg" />
<title>ItalianWords</title>
</head>
<body style="background-image:url(Asset/italy2.png);">
<script type="text/javascript">
function playSi(){
var sound = document.getElementById("si");
sound.play();
}
function playNo(){
var sound = document.getElementById("no");
sound.play();
}
function playGrazie(){
var sound = document.getElementById("grazie");
sound.play();
}
function playPerFavore(){
var sound = document.getElementById("perfavore");
sound.play();
}
function playMiScusi(){
var sound = document.getElementById("miscusi");
sound.play();
}
function playBongiorno(){
var sound = document.getElementById("bongiorno");
sound.play();
}
function playBuonaNotte(){
var sound = document.getElementById("buonanotte");
sound.play();
}
function playCiao(){
var sound = document.getElementById("Ciao");
sound.play();
}
function playPiacere(){
var sound = document.getElementById("piacere");
sound.play();
}
function playCome(){
var sound = document.getElementById("come");
sound.play();
}
function playIlNome(){
var sound = document.getElementById("ilnome");
sound.play();
}
function playComeStai(){
var sound = document.getElementById("comestai");
sound.play();
}
function playStoBene(){
var sound = document.getElementById("stobene");
sound.play();
}
function playNonBene(){
var sound = document.getElementById("nonbene");
sound.play();
}
</script>
<div id="container">
<div id="header">
<h1>Learn Italian Words</h1>
</div>
<div id="main_page">
<div id="back"> <a href="LearningOption.html"><img id="back_img" src="Asset/back.png" width="80" height="80"/></a></div>
<div id="home"> <a href="Index2.html"><img id="home_img" src="Asset/home.png" width="80" height="80"/></a></div>
<div id="id_papiros"> <img id="papiros" src="Asset/papyrus.gif" /></div>
<table id="table_lang" >
<tr>
<td> English </td>
<td> Italian </td>
<td> Sound </td>
</tr>
<tr>
<td> Yes </td>
<td>Sì</td>
<td><a onclick="playSi();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="si"> <source src="Asset/words_sounds/Si.ogg" hidden="true">
<source src="Asset/words_sounds/Si.mp3"></audio>
</a></td>
</tr>
<tr>
<td> No </td>
<td> No</td>
<td><a onclick="playNo();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="no"> <source src="Asset/words_sounds/No.ogg" hidden="true">
<source src="Asset/words_sounds/No.mp3"></audio>
</a></td>
</tr>
<tr>
<td> Thank you </td>
<td>Grazie</td>
<td><a onclick="playGrazie();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="grazie"> <source src="Asset/words_sounds/Grazie.ogg" hidden="true">
<source src="Asset/words_sounds/Grazie.mp3"></audio>
</a></td>
</tr>
<tr>
<td> Please </td>
<td>Per Favore</td>
<td><a onclick="playPerFavore();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="perfavore"> <source src="Asset/words_sounds/Perfavore.ogg" hidden="true">
<source src="Asset/words_sounds/Perfavore.mp3"></audio>
</a></td>
</tr>
<tr>
<td> Excuse me </td>
<td>Mi Scusi</td>
<td><a onclick="playMiScusi();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="miscusi"> <source src="Asset/words_sounds/Mi Scusi.ogg" hidden="true">
<source src="Asset/words_sounds/Mi Scusi.mp3"></audio>
</a></td>
</tr>
<tr>
<td> Bye Bye </td>
<td>Ciao</td>
<td><a onclick="playCiao();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="Ciao"> <source src="Asset/words_sounds/Ciao.ogg" hidden="true">
<source src="Asset/words_sounds/Ciao.mp3"></audio>
</a></td>
</tr>
<tr>
<td> Goodmorning </td>
<td>Bongiorno</td>
<td><a onclick="playBongiorno();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="bongiorno"> <source src="Asset/words_sounds/Buongiorno.ogg" hidden="true">
<source src="Asset/words_sounds/Buongiorno.mp3"></audio>
</a></td>
</tr>
<tr>
<td> Goodnight </td>
<td>Buona Notte</td>
<td><a onclick="playBuonaNotte();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="buonanotte"> <source src="Asset/words_sounds/Buonanotte.ogg" hidden="true">
<source src="Asset/words_sounds/Buonanotte.mp3"></audio>
</a></td> </tr>
<tr>
<td> Hello</td>
<td>Ciao</td>
<td><a onclick="playCiao();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="Ciao"> <source src="Asset/words_sounds/Ciao.ogg" hidden="true">
<source src="Asset/words_sounds/Ciao.mp3"></audio>
</a></td>
</tr>
<tr>
<td> Nice to meet you </td>
<td>Piacere d’incontrarti</td>
<td><a onclick="playPiacere();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="piacere"> <source src="Asset/words_sounds/Piacere Di Incontrarti.ogg" hidden="true">
<source src="Asset/words_sounds/Piacere Di Incontrarti.mp3"></audio>
</a></td>
</tr>
<tr>
<td> What’s your name? </td>
<td>Come ti chiami?</td>
<td><a onclick="playCome();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="come"> <source src="Asset/words_sounds/Come Ti Chiami_.ogg" hidden="true">
<source src="Asset/words_sounds/Come Ti Chiami_.mp3"></audio>
</a></td>
</tr>
<tr>
<td> My name is </td>
<td>Il mio nome è</td>
<td><a onclick="playIlNome();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="ilnome"> <source src="Asset/words_sounds/Il Mio Nome E_...ogg" hidden="true">
<source src="Asset/words_sounds/Il Mio Nome E_...mp3"></audio>
</a></td>
</tr>
<tr>
<td> How are you? </td>
<td>Come stai?</td>
<td><a onclick="playComeStai();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="comestai"> <source src="Asset/words_sounds/Come Stai_.ogg" hidden="true">
<source src="Asset/words_sounds/Come Stai_.mp3"></audio>
</a></td>
</tr>
<tr>
<td> I’m fine</td>
<td>Sto bene</td>
<td><a onclick="playStoBene();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="stobene"> <source src="Asset/words_sounds/Sto Bene.ogg" hidden="true">
<source src="Asset/words_sounds/Sto Bene.ogg"></audio>
</a></td>
</tr>
<tr>
<td> I’m not fine </td>
<td>Non sto bene</td>
<td><a onclick="playNonBene();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="nonbene"> <source src="Asset/words_sounds/Non Sto Bene.ogg" hidden="true">
<source src="Asset/words_sounds/Non Sto Bene.mp3"></audio>
</a></td>
</tr>
</table>
</div>
</div>
</html>