-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathreader.html
328 lines (305 loc) · 15.7 KB
/
reader.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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Kuran Rehberi: Qurani
</title>
<link rel="icon" href="images/search.png">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<link href='http://www.fontonline.ir/css/BKoodakBold.css' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css2?family=Aref+Ruqaa&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style/reader.css">
<style>
.arabic {
font: 20px me_quran, serif;
}
@font-face {
font-family: me_quran;
src: url("style/me_quran.ttf")
}
.tableTefsir{
display: table-cell;
}
.tableArabic{
display: table-cell;
}
:root {
--sticky-pos: 1px;
}
.sticky {
position: sticky;
top: 0; /* Sentinels adjust based on this position. */
background-color: #f8f9fa;
border-top-width: 0px!important;
}
.row {
margin-right: auto;
margin-left: auto;
}
</style>
</head>
<body>
<!-- from bootstrap examples -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" style="user-select: none;" href="./">Kuran Rehberi</a>
<span id="version" class="navbar-text">
</span>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item ">
<a class="nav-link " href="./finder.html">Ara</a
>
</li>
<li class="nav-item active" >
<a class="nav-link disabled" href="./reader.html"
>Oku<span class="sr-only">(current)</span></a
>
</li>
<li class="nav-item " aria-disabled="true">
<a class="nav-link " href="./simi.html"
>Simi </a
>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Other
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="./Projectproposal.html">Proposal</a>
<a class="dropdown-item" href="https://github.com/Okuyun/Rehber">Source Code</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="http://a0m0rajab.github.io/">About me</a>
</div>
</li>
</ul>
</div>
</nav>
<br>
<div class="container">
<div class="row w-100">
<div class="row w-100">
<div class="col" id="tefsirController">
<select id="selectedTranslation" onchange="loadTransR(this.value)" class="browser-default custom-select">
<template id="selectedTranslationOptions">
<option></option>
</template>
</div>
<div class="col">
<div class="row">
<label class="col"for="suraCV">Sura</label>
<input id=suraCV class="col form-control mr-sm-2 text-right" type="search" aria-label="Search" onkeypress="gotosura(event)">
</div>
</div>
</div>
<div class="row w-100">
<div class="custom-control custom-radio custom-control-inline">
<input checked onchange="displayState(1)" type="radio" id="state1" name="state" class="custom-control-input">
<label class="custom-control-label" for="state1">Show all</label>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input onchange="displayState(2)" type="radio" id="state2" name="state" class="custom-control-input">
<label class="custom-control-label" for="state2">Only arabic</label>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input onchange="displayState(3)" type="radio" id="state3" name="state" class="custom-control-input">
<label class="custom-control-label" for="state3">Only Tefsir</label>
</div>
</div>
</div>
<div class="row w-100">
<div id="scrollingChapters" class="table-responsive" style="height: 70vh;">
<table class="table table-hover table-sm">
<tbody>
<thead>
<tr>
<th class="w-50 text-center">Fatiha</th>
<th class="arabic text-center"> الفاتحة</th>
</tr>
</thead>
<tr>
<td>Rahmân ve Rahîm olan Allah'ın ismiyle.</td>
<td class="arabic text-right">بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ</td>
</tr>
<tr>
<td>Hamd o âlemlerin Rabbi,</td>
<td class="arabic text-right">ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِين</td>
</tr>
<tr>
<td>O Rahmân ve Rahim,</td>
<td class="arabic text-right">ٱلرَّحْمَٰنِ ٱلرَّحِيمِ </td>
</tr>
<tr>
<td>O, din gününün maliki Allah'ın.</td>
<td class="arabic text-right">مَٰلِكِ يَوْمِ ٱلدِّينِ </td>
</tr>
<tr>
<td>Ancak sana ederiz kulluğu, ibadeti ve ancak senden dileriz yardımı, inayeti. (Ya Rab!).</td>
<td class="arabic text-right">إِيَّاكَ نَعْبُدُ وَإِيَّاكَ نَسْتَعِينُ </td>
</tr>
<tr>
<td>Hidayet eyle bizi doğru yola,</td>
<td class="arabic text-right">ٱهْدِنَا ٱلصِّرَٰطَ ٱلْمُسْتَقِيمَ </td>
</tr>
<tr>
<td>O kendilerine nimet verdiğin mutlu kimselerin yoluna; o gazaba uğramışların ve o sapmışların yoluna değil.</td>
<td class="arabic text-right">صِرَٰطَ ٱلَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ ٱلْمَغْضُوبِ عَلَيْهِمْ وَلَا ٱلضَّآلِّينَ </td>
</tr>
<tr>
<td class="w-50 text-center" ></td>Rahmân ve Rahîm olan Allah'ın ismiyle.</td>
<td class="arabic text-right">بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ</td>
</tr>
<tr>
<td>Hamd o âlemlerin Rabbi,</td>
<td class="arabic text-right">ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِين</td>
</tr>
<tr>
<td>O Rahmân ve Rahim,</td>
<td class="arabic text-right">ٱلرَّحْمَٰنِ ٱلرَّحِيمِ </td>
</tr>
<tr>
<td>O, din gününün maliki Allah'ın.</td>
<td class="arabic text-right">مَٰلِكِ يَوْمِ ٱلدِّينِ </td>
</tr>
<tr>
<td>Ancak sana ederiz kulluğu, ibadeti ve ancak senden dileriz yardımı, inayeti. (Ya Rab!).</td>
<td class="arabic text-right">إِيَّاكَ نَعْبُدُ وَإِيَّاكَ نَسْتَعِينُ </td>
</tr>
<tr>
<td>Hidayet eyle bizi doğru yola,</td>
<td class="arabic text-right">ٱهْدِنَا ٱلصِّرَٰطَ ٱلْمُسْتَقِيمَ </td>
</tr>
<tr>
<td>O kendilerine nimet verdiğin mutlu kimselerin yoluna; o gazaba uğramışların ve o sapmışların yoluna değil.</td>
<td class="arabic text-right">صِرَٰطَ ٱلَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ ٱلْمَغْضُوبِ عَلَيْهِمْ وَلَا ٱلضَّآلِّينَ </td>
</tr>
</tbody>
</table>
<table class="table table-hover table-sm">
<tbody>
<thead>
<tr>
<th class="w-50 text-center">Fatiha</th>
<th class="arabic text-center"> الفاتحة</th>
</tr>
</thead>
<tr>
<td>Rahmân ve Rahîm olan Allah'ın ismiyle.</td>
<td class="arabic text-right">بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ</td>
</tr>
<tr>
<td>Hamd o âlemlerin Rabbi,</td>
<td class="arabic text-right">ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِين</td>
</tr>
<tr>
<td>O Rahmân ve Rahim,</td>
<td class="arabic text-right">ٱلرَّحْمَٰنِ ٱلرَّحِيمِ </td>
</tr>
<tr>
<td>O, din gününün maliki Allah'ın.</td>
<td class="arabic text-right">مَٰلِكِ يَوْمِ ٱلدِّينِ </td>
</tr>
<tr>
<td>Ancak sana ederiz kulluğu, ibadeti ve ancak senden dileriz yardımı, inayeti. (Ya Rab!).</td>
<td class="arabic text-right">إِيَّاكَ نَعْبُدُ وَإِيَّاكَ نَسْتَعِينُ </td>
</tr>
<tr>
<td>Hidayet eyle bizi doğru yola,</td>
<td class="arabic text-right">ٱهْدِنَا ٱلصِّرَٰطَ ٱلْمُسْتَقِيمَ </td>
</tr>
<tr>
<td>O kendilerine nimet verdiğin mutlu kimselerin yoluna; o gazaba uğramışların ve o sapmışların yoluna değil.</td>
<td class="arabic text-right">صِرَٰطَ ٱلَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ ٱلْمَغْضُوبِ عَلَيْهِمْ وَلَا ٱلضَّآلِّينَ </td>
</tr>
<tr>
<td class="w-50 text-center" >Rahmân ve Rahîm olan Allah'ın ismiyle.</td>
<td class="arabic text-right">بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ</td>
</tr>
<tr>
<td>Hamd o âlemlerin Rabbi,</td>
<td class="arabic text-right">ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِين</td>
</tr>
<tr>
<td>O Rahmân ve Rahim,</td>
<td class="arabic text-right">ٱلرَّحْمَٰنِ ٱلرَّحِيمِ </td>
</tr>
<tr>
<td>O, din gününün maliki Allah'ın.</td>
<td class="arabic text-right">مَٰلِكِ يَوْمِ ٱلدِّينِ </td>
</tr>
<tr>
<td>Ancak sana ederiz kulluğu, ibadeti ve ancak senden dileriz yardımı, inayeti. (Ya Rab!).</td>
<td class="arabic text-right">إِيَّاكَ نَعْبُدُ وَإِيَّاكَ نَسْتَعِينُ </td>
</tr>
<tr>
<td>Hidayet eyle bizi doğru yola,</td>
<td class="arabic text-right">ٱهْدِنَا ٱلصِّرَٰطَ ٱلْمُسْتَقِيمَ </td>
</tr>
<tr>
<td>O kendilerine nimet verdiğin mutlu kimselerin yoluna; o gazaba uğramışların ve o sapmışların yoluna değil.</td>
<td class="arabic text-right">صِرَٰطَ ٱلَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ ٱلْمَغْضُوبِ عَلَيْهِمْ وَلَا ٱلضَّآلِّينَ </td>
</tr>
</tbody>
</table>
<table class="table table-hover table-sm">
<tbody>
<thead>
<tr>
<th class="w-50 text-center" >Fatiha</th>
<th class="arabic text-center"> الفاتحة</th>
</tr>
</thead>
<tr>
<td>Rahmân ve Rahîm olan Allah'ın ismiyle.</td>
<td class="arabic text-right">بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ</td>
</tr>
<tr>
<td>Hamd o âlemlerin Rabbi,</td>
<td class="arabic text-right">ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِين</td>
</tr>
<tr>
<td>O Rahmân ve Rahim,</td>
<td class="arabic text-right">ٱلرَّحْمَٰنِ ٱلرَّحِيمِ </td>
</tr>
<tr>
<td>O, din gününün maliki Allah'ın.</td>
<td class="arabic text-right">مَٰلِكِ يَوْمِ ٱلدِّينِ </td>
</tr>
<tr>
<td>Ancak sana ederiz kulluğu, ibadeti ve ancak senden dileriz yardımı, inayeti. (Ya Rab!).</td>
<td class="arabic text-right">إِيَّاكَ نَعْبُدُ وَإِيَّاكَ نَسْتَعِينُ </td>
</tr>
<tr>
<td>Hidayet eyle bizi doğru yola,</td>
<td class="arabic text-right">ٱهْدِنَا ٱلصِّرَٰطَ ٱلْمُسْتَقِيمَ </td>
</tr>
<tr>
<td>O kendilerine nimet verdiğin mutlu kimselerin yoluna; o gazaba uğramışların ve o sapmışların yoluna değil.</td>
<td class="arabic text-right">صِرَٰطَ ٱلَّذِينَ أَنْعَمْتَ عَلَيْهِمْ غَيْرِ ٱلْمَغْضُوبِ عَلَيْهِمْ وَلَا ٱلضَّآلِّينَ </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<script src="./code/common.js"></script>
<script src="code/quran-data.js"></script>
<script src="code/quran-sura.js"></script>
<script src="./code/script.js"></script>
<script src="./code/reader.js"></script>
<script src="./code/config.js"></script>
<script src="./code/translations.js"></script>
<script>
initReader()
version.innerText = config.version;
populateTranslationMenu("selectedTranslation","#selectedTranslationOptions","option", "value",readerCallBack);
</script>
</body>
</html>