-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherindex.html
More file actions
385 lines (326 loc) · 12.4 KB
/
erindex.html
File metadata and controls
385 lines (326 loc) · 12.4 KB
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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
<html>
<head>
<meta charset="utf-8">
<title>📙E-reader</title>
<!-- include jquery, bootstrap and our stylesheet -->
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Montserrat:100,400,900|Noto+Sans:400,400i|Rancho&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/d52903d283.js" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<link rel="stylesheet"
type="text/css"
href="style/bootstrapd.css"
/>
<link rel="stylesheet" type="text/css" href="style/erstyles.css"/>
</head>
<body>
<div class="top">
<nav class="navbar navbar-expand-lg navbar-fixed-top navbar-dark bg-dark">
<a href="index.html"> <i class="logo fas fa-book-open fa-4x"></i></a>
<a class="navbar-brand" href="index.html"><h1 class="icon">ȡiary_pages2000</h1></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo02">
<ul class="navbar-nav ml-auto">
<li class="main nav-item ">
<a class="nav-link" href="bindex.html">Home </a>
</li>
<li class="main nav-item">
<a class="nav-link" href="#AboutUs">About Us</a>
</li>
<li class="main nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
E-reader
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="erindex.html">Qoutes</a>
<a class="dropdown-item" href="erindex.html">Poetry</a>
<a class="dropdown-item" href="erindex.html">Stories</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#Writers">Top-Writers</a>
</div>
</li>
<li class="main nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Entertainment
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="Drindex.html">Beat a Drum-Set</a>
<a class="dropdown-item" href="Dindex.html">Dice Challenge</a>
<a class="dropdown-item" href="#">Shayri Bot</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#Writers">Books</a>
</div>
</li>
<li class="main nav-item">
<a class="main nav-link" href="#">Registration</a>
</li>
<li class="main nav-item">
<a class="main nav-link" href="https://www.instagram.com/lovely_lads2020/">Contact Us</a>
</li>
</ul>
<form class=" navbar form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
</div>
<div class="container intro">
<div class="row col-sm-12">
<div class="profile col-md-6">
<img class="img col-sm-3"src=" images/ARUN.jpg" alt="Author's Image">
</div>
<li class="main nav-item dropdown">
<a class=" choose col-sm-2" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" >
--Choose: Option---
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#Qoutes">Qoutes</a>
<a class="dropdown-item" href="#Poetry">Poetry</a>
<a class="dropdown-item" href="#Stories">Stories</a>
<a class="dropdown-item" href="#Novel">Novel</a>
</div>
</li>
</div>
<h2 class=" author col-sm-12">Author: Arun Kumar Bisariya</h2>
<div class="row">
<div class="col-md-12">
<button class="btn btn-default js-go-day">DAY NODE</button>
<button class="btn btn-default js-go-night">NIGHT NODE</button>
</div>
</div>
</div>
<div id="Qoutes" class="container">
<div class="col-sm-12 writeups">
<h1 class="heading">Quotes</h1>
<marquee class="mark" direction="left" height="20" width="100%" opacity="0.6"><p class="subheading">"Don't loose your passion do whatever you love"</p></marquee>
</div>
</div>
<hr>
<h1 class=" commingsoon">COMMING SOON....</h1>
<div id="Poetry" class="container">
<div class="col-sm-12 writeups">
<h1 class="heading">Poetry</h1>
<marquee class="mark" direction="left" height="20" width="100%" opacity="0.6"><p class="subheading">"If you want to hear voice of love, then you must focus on words of poetry "</p></marquee>
</div>
</div>
<hr>
<h1 class=" commingsoon">COMMING SOON....</h1>
<div id="Stories" class="container">
<div class="col-sm-12 writeups">
<h1 class="heading">Stories</h1>
<marquee class="mark" direction="left" height="20" width="100%" opacity="0.6"><p class="subheading">" Everyone is a character of someone's stroy"</p></marquee>
</div>
</div>
<hr>
<h1 class=" commingsoon">COMMING SOON....</h1>
<div id="Novel" class="container">
<div class="col-sm-12 writeups">
<h1 class="heading">Novel</h1>
<marquee class="mark" direction="left" height="20" width="100%" opacity="0.6"><p class="subheading">" Some thought gives us way to live life "</p></marquee>
</div>
</div>
<hr>
<div class="container">
<!--
we have 1 row that contains 2 columns
one for the thumbnails and one for the
main reader view
-->
<div class="row">
<div class="col-md-3">
<!--
This is a list view that will
contain all the chapter thumbnails
-->
<ul class="list-group scrollable" id="chapterlist">
<!--
The id contains the chapter number, something
we will use in the JS code
The class list-group-item is for bootstrap
and chapter-thumbnail is for our code
-->
<li id="chapter0"
class="list-group-item chapter-thumbnail " value="1">Hamlet
By William Shakespeare
</li>
<li id="chapter1" class="list-group-item chapter-thumbnail ">ACT I
SCENE I.
Elsinore. A platform before the castle.
FRANCISCO at his post. Enter to him BERNARDO
BERNARDO
Who's there?
FRANCISCO
Nay, answer me: stand, and unfold yourself.
BERNARDO
Long live the king!
FRANCISCO
Bernardo?
BERNARDO
</li>
<li id="chapter2" class="list-group-item chapter-thumbnail">SCENE II.
A room of state in the castle.
Enter KING CLAUDIUS, QUEEN GERTRUDE, HAMLET,
POLONIUS, LAERTES, VOLTIMAND,
CORNELIUS, Lords, and Attendants
KING CLAUDIUS
</li>
<li id="chapter3" class="list-group-item chapter-thumbnail">SCENE III.
A room in Polonius' house.
Enter LAERTES and OPHELIA
LAERTES
My necessaries are embark'd: farewell:
And, sister, as the winds give benefit
And convoy is assistant, do not sleep,
But let me hear from you.
OPHELIA
Exeunt
</li>
<li id="chapter4" class="list-group-item chapter-thumbnail">SCENE IV.
The platform.
Enter HAMLET, HORATIO, and MARCELLUS
HAMLET
The air bites shrewdly; it is very cold.
HORATIO
It is a nipping and an eager air.
HAMLET
What hour now?
</li>
<li id="chapter4" class="list-group-item chapter-thumbnail">SCENE V.
Another part of the platform.
Enter GHOST and HAMLET
HAMLET
Where wilt thou lead me? speak; I'll go no further.
Ghost
</li>
</ul>
</div>
<!--
This contains the main reader view
that will show the whole chapter.
It is currently empty because we will
fill in using JavaScript
-->
<div class="col-md-9">
<!--
well is a bootstrap class for creating
a nice container box
The id, mainViewer is for our use
-->
<div class="well" id="mainViewer" >
</div>
</div>
</div>
</div>
<script>
$('.js-go-night').click(function(){
alert('You are going to Night Mode');
$('body').addClass('night');
$('div').addClass('night');
$('li').addClass('night');
});
$('.js-go-day').click(function(){
alert('You are going to Day Mode');
$('body').removeClass('night');
$('div').removeClass('night');
$('li').removeClass('night');
$('.mark').addClass('night');
});
// this is a variable to keep track
// of which chapter we are on
var counter = 0;
// when we click on a chapter thumbnail
// it displays that chapter
// this code is pretty similar to the
// image gallery, but I've added some code
// to update the counter
$(".chapter-thumbnail").click(function(){
// copy the html from the thumbnail (this)
// to the main viwer
$("#mainViewer").html(
$(this).html());
// get the id of this element so we can
// get hold of its number
var id = $(this).attr("id");
// set the counter to the number of the
// chapter we selected.
// We get this by taking the last charcter
// of the id and convert it to a number
// id.slice gets a subsection of the string
// passing in -1 means we get just the
// last character
// parseInt converts it to a number (integer)
counter = parseInt(id.slice(-1));
});
// virtually click the first chapter to select it
$("#chapter"+counter).click();
// when we click on the main viewer we want to
// move forward or backward in the
// chapter
$("#mainViewer").click(function (event){
// move forward if we click to the right
// or backward if we click to the left
// event.offsetX is the horizontal
// position of the mouse inside the
// element we have clicked on,
// it will be between 0
// and the width of the element
// $(this).width()*0.3 is 30% of
// the with of the element
// if event.offsetX is less than
// 30% of the width, it means it is
// on the left hand side
if(event.offsetX
< $(this).width()*0.3){
// if we've clicked on the left
// go back
counter = counter - 1;
} else {
// if we've clicked on the right
// go forwards
counter = counter + 1;
}
// If we've gone below 0 it means
// we were at the beginning, and
// should just stay at zero
if(counter < 0){
counter = 0;
}
// $(".chapter-thumbnail").length
// is the number of elements that
// match the selector .chapter-thumbnail
// i.e. the number of chapter thumbnails
// if counter is equal to or more than
// the number of thumbnails it means
// we've gone past the last chapter which
// is $(".chapter-thumbnail").length-1
// (because we start counting at 0)
if(counter >=
$(".chapter-thumbnail").length){
counter =
$(".chapter-thumbnail").length-1;
}
// we get the id of the chapter thumbnail
// we want by putting counter on the end
// of it.
// we can do a virtual click on the
// chapter thumbnail to select it
$("#chapter"+counter).click();
});
</script>
<footer id="ContactUs" class="footer bg-dark text-center text-light">
<div class="social">
<a href="https://www.instagram.com/diary_pages2000/"><i class="fab fa-instagram fa-3x"></i></a>
<a href="#"><i class="fab fa-twitter fa-3x"></i></a>
<a href="#"><i class="fab fa-youtube fa-3x"></i></a>
<a href="#"><i class="fab fa-linkedin fa-3x"></i></a>
</div>
<p id="lastline">Copyright © 2020 🎲 diary_pages2020.com 🎲 Arun Kumar Bisariya</p>
❤️❤️❤️
</footer>
</body>
</html>