-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPolishWords.html
258 lines (241 loc) · 7.9 KB
/
PolishWords.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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<!DOCTYPE HTML>
<html>
<head>
<link rel="icon"
href="Asset/euro_flag.jpg" />
<link rel="stylesheet" href="wordSounds.css" type ="text/css">
<style>
a {
cursor:pointer;
}
</style>
<meta charset="utf-8">
<title>PolishWords</title>
</head>
<body style="background-image:url(Asset/polandfinal.gif);">
<script type="text/javascript">
function playTak(){
var sound = document.getElementById("tak");
sound.play();
}
function playNie(){
var sound = document.getElementById("nie");
sound.play();
}
function playDziekuje(){
var sound = document.getElementById("dziekuje");
sound.play();
}
function playProsze(){
var sound = document.getElementById("prosze");
sound.play();
}
function playPrzepraszam(){
var sound = document.getElementById("przepraszam");
sound.play();
}
function playDzien(){
var sound = document.getElementById("dzien");
sound.play();
}
function playDobranoc(){
var sound = document.getElementById("dobranoc");
sound.play();
}
function playCzesc(){
var sound = document.getElementById("czesc");
sound.play();
}
function playMilo(){
var sound = document.getElementById("milo");
sound.play();
}
function playJak(){
var sound = document.getElementById("jak");
sound.play();
}
function playMam(){
var sound = document.getElementById("mam");
sound.play();
}
function playCJak(){
var sound = document.getElementById("cjak");
sound.play();
}
function playWporzadku(){
var sound = document.getElementById("wporzadku");
sound.play();
}
function playNiezbyt(){
var sound = document.getElementById("niezbyt");
sound.play();
}
</script>
<div id="container">
<div id="header">
<h1>Learn Polish 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 src="Asset/papyrus.gif" name="papiros" id="papiros" /></div>
<table id="table_lang" >
<tr>
<td style="font-size:25px;"> English </td>
<td style="font-size:25px;"> Polish </td>
<td style="font-size:25px;"> Sound </td>
</tr>
<tr>
<td> Yes </td>
<td>Tak</td>
<td><a onclick="playTak();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="tak">
<source src="Asset/words_sounds/Tak.ogg" hidden="true">
<source src="Asset/words_sounds/Tak.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> No </td>
<td> Nie</td>
<td><a onclick="playNie();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="nie">
<source src="Asset/words_sounds/Nie.ogg" hidden="true">
<source src="Asset/words_sounds/Nie.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> Thank you </td>
<td>Dziękuję</td>
<td><a onclick="playDziekuje();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="dziekuje">
<source src="Asset/words_sounds/Dziękuję.ogg" hidden="true">
<source src="Asset/words_sounds/Dziękuję.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> Please </td>
<td>Proszę</td>
<td><a onclick="playProsze();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="prosze">
<source src="Asset/words_sounds/Proszę.ogg" hidden="true">
<source src="Asset/words_sounds/Proszę.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> Excuse me </td>
<td>Przepraszam</td>
<td><a onclick="playPrzepraszam();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="przepraszam">
<source src="Asset/words_sounds/Przepraszam.ogg" hidden="true">
<source src="Asset/words_sounds/Przepraszam.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> Bye Bye </td>
<td>Cześć</td>
<td><a onclick="playCzesc();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="czesc">
<source src="Asset/words_sounds/Cześć.ogg" hidden="true">
<source src="Asset/words_sounds/Cześć.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> Goodmorning </td>
<td>Dzień dobry</td>
<td><a onclick="playDzien();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="dzien">
<source src="Asset/words_sounds/Dzień dobry.ogg" hidden="true">
<source src="Asset/words_sounds/Dzień dobry.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> Goodnight </td>
<td>Dobranoc</td>
<td><a onclick="playDobranoc();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="dobranoc">
<source src="Asset/words_sounds/Dobranoc.ogg" hidden="true">
<source src="Asset/words_sounds/Dobranoc.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> Hello</td>
<td>Cześć</td>
<td><a onclick="playCzesc();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="czesc">
<source src="Asset/words_sounds/Cześć.ogg" hidden="true">
<source src="Asset/words_sounds/Cześć.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> Nice to meet you </td>
<td>Miło Cię spotkać</td>
<td><a onclick="playMilo();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="milo">
<source src="Asset/words_sounds/Miło Cię spotkać.ogg" hidden="true">
<source src="Asset/words_sounds/Miło Cię spotkać.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> What’s your name? </td>
<td>Jak masz na imię?</td>
<td><a onclick="playJak();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="jak">
<source src="Asset/words_sounds/Jak masz na imię.ogg" hidden="true">
<source src="Asset/words_sounds/Jak masz na imię.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> My name is </td>
<td>Mam na imię</td>
<td><a onclick="playMam();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="mam">
<source src="Asset/words_sounds/Mam na imię.ogg" hidden="true">
<source src="Asset/words_sounds/Mam na imię.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> How are you? </td>
<td>CJak się masz?</td>
<td><a onclick="playCJak();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="cjak">
<source src="Asset/words_sounds/CJak się masz.ogg" hidden="true">
<source src="Asset/words_sounds/CJak się masz.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> I’m fine</td>
<td>W porządku</td>
<td><a onclick="playWporzadku();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="wporzadku">
<source src="Asset/words_sounds/W porządku.ogg" hidden="true">
<source src="Asset/words_sounds/W porządku.mp3">
</audio>
</a></td>
</tr>
<tr>
<td> I’m not fine </td>
<td>Niezbyt dobrze</td>
<td><a onclick="playNiezbyt();"><img src="Asset/soundon1.png" width="25" height="25" />
<audio id="niezbyt">
<source src="Asset/words_sounds/Niezbyt dobrze.ogg" hidden="true">
<source src="Asset/words_sounds/Niezbyt dobrze.mp3">
</audio>
</a></td>
</tr>
</table>
</div>
</div>
</html>