-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
357 lines (303 loc) · 9.01 KB
/
index.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
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
<!DOCTYPE html>
<html>
<head>
<title> Ehean lain </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel = "icon" type = "image/X-icon" href = "logo\hnet.com-image (2).ico">
<style type = "text/css">
.main{
font-size: 25px;
color: rgb(0, 185, 255);
}
hr{
height: 4px;
border:none;
background-color: rgb(2,24,123);
}
body{
background-image: url(https://cdn.pixabay.com/photo/2017/03/29/11/29/nepal-2184940_960_720.jpg);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
.clorgld {
color: rgb(247, 185, 112);
}
.historywebsite {
color: rgb(247, 185, 112);
height: 40px
}
.top_1{
height: 40px;
color: white;
}
.caption_1{
text-align: justify;
}
/*this is a css for create a profile in the homepage*/
.profile{
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
max-width: 300px;
margin: auto;
text-align: center;
float: right;
visibility:hidden;
}
.title{
color: black;
font: 18px;
}
.button_profile{
border: none;
outline: 0;
display: inline-block;
padding: 8px;
color: white;
background-color: #000;
text-align: center;
cursor: pointer;
width: 100%;
font-size: 18px;
}
.button_profile:hover, a:hover {
opacity: 0.7;
}
/*this is the end of css for create a profile in the homepage*/
/*we make the display of the profile in the right side*/
.show_profile:hover .profile {
visibility:visible;
}
* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}
/* Slideshow container */
.slideshow-container {
max-width: 500px;
position: relative;
margin: auto;
}
/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
}
/* Caption text */
.text {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}
/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}
@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.prev, .next,.text {font-size: 11px}
}
/*make footer*/
.footer{
height:100px;
background-color: Black;
color:rgb(255, 255, 255)
}
/*end footer */
}
</style>
<script>
<!--This is the start of the Javascript that make the animation replace text on the dispaly-->
var TxtRotate = function(el, toRotate, period) {
this.toRotate = toRotate;
this.el = el;
this.loopNum = 0;
this.period = parseInt(period, 10) || 2000;
this.txt = '';
this.tick();
this.isDeleting = false;
};
TxtRotate.prototype.tick = function() {
var i = this.loopNum % this.toRotate.length;
var fullTxt = this.toRotate[i];
if (this.isDeleting) {
this.txt = fullTxt.substring(0, this.txt.length - 1);
} else {
this.txt = fullTxt.substring(0, this.txt.length + 1);
}
this.el.innerHTML = '<span class="wrap">'+this.txt+'</span>';
var that = this;
var delta = 300 - Math.random() * 100;
if (this.isDeleting) { delta /= 2; }
if (!this.isDeleting && this.txt === fullTxt) {
delta = this.period;
this.isDeleting = true;
} else if (this.isDeleting && this.txt === '') {
this.isDeleting = false;
this.loopNum++;
delta = 500;
}
setTimeout(function() {
that.tick();
}, delta);
};
window.onload = function() {
var elements = document.getElementsByClassName('txt-rotate');
for (var i=0; i<elements.length; i++) {
var toRotate = elements[i].getAttribute('data-rotate');
var period = elements[i].getAttribute('data-period');
if (toRotate) {
new TxtRotate(elements[i], JSON.parse(toRotate), period);
}
}
// INJECT CSS
var css = document.createElement("style");
css.type = "text/css";
css.innerHTML = ".txt-rotate > .wrap { border-right: 0.08em solid #666 }";
document.body.appendChild(css);
};
<!--This is the end of the replce the text of the project that we dispaly on -->
</script>
</head>
<body>
<div class = "top_1" style = "height: 10px; width:100px;" ></div>
<img src = "logo/KnightSmoothWhite280GSM.png" width ="100px" >
<img style = "float:right;" src = "logo\75250917_2482258182098902_6815319801112559616_o.jpg" width ="60px" >
<pre style = "margin-left: 25px;" ><a class = "main" href style = "text-decoration: none;" = "main.html" >Home</a> <a class = "main" style = "text-decoration: none;" href = "sing_in.html">Sign in</a> <a class = "main" style = "text-decoration: none;" href = "Books.html">Books</a> <a class = "main" style = "text-decoration: none;" href="video.html">Videos</a> <a class = "main" style = "text-decoration: none;" href = "bloge.html">Blog</a> <a class = "main" style = "text-decoration: none;" href = "education.html">Education</a> </pre>
<link href="https://fonts.googleapis.com/css?family=Raleway:200,100,400" rel="stylesheet" type="text/css" /> <!--This is a font replace that we will radomlly the text in the data-ratation-->
<h1>
<span
class="txt-rotate"
data-period="2000"
data-rotate='[ "Welcome to Kitewithyou website .", "How can I help you?" , "we are here to help you." ]'></span>
</h1>
<div class ="show_profile" >
<div class = "profile" >
<img src="logo\75250917_2482258182098902_6815319801112559616_o.jpg" alt = "Theanlay" style = "Width: 100px">
<h1> THORN THEANLAY</h1>
<p class = "title"> Founder of Kitewithyou</p>
<p> KIT</p>
<p><button class ="button_profile">Contact</button></p>
</div>
<div>
<!---->
<div>
<div class="slideshow-container">
<h3>Top Book and News here</h3>
<div class="mySlides fade">
<div class="numbertext"></div>
<a href = "https://online.pubhtml5.com/xoxn/okaj/"><img src = "Book\cover_book\24 patterns for clean code.PNG" width = "width:100%" ></a>
<div class="text">24 patterns for clean code</div>
</div>
<div class="mySlides fade">
<div class="numbertext"></div>
<a href = "https://online.pubhtml5.com/xoxn/gpen/"><img src = "Book\cover_book\beginning programming with java.PNG"width = "width:100%"></a>
<div class="text">Beginning prorgamming with java</div>
</div>
<div class="mySlides fade">
<div class="numbertext"></div>
<a href = "https://online.pubhtml5.com/xoxn/fioa/"><img src = "Book\cover_book\How_to_be_a_Genius.PNG"width = "width:100%"></a>
<div class="text">how to be a GENIUS</div>
</div>
<div class="mySlides fade">
<div class="numbertext"></div>
<a href = "https://online.pubhtml5.com/xoxn/wvaw/">
<img src = "Book\cover_book\Master your times master your life.PNG"width = "100%">
</a>
<div class="text">Master yout Time Master your life</div>
</div>
<div class="mySlides fade">
<div class="numbertext"></div>
<a href = "https://online.pubhtml5.com/xoxn/oswv/">
<img src = "Book\cover_book\improve your communication skills.PNG"width = "100%">
</a>
<div class="text"> improve your communication skill</div>
</div>
<div class="mySlides fade">
<div class="numbertext"></div>
<a href = "https://online.pubhtml5.com/xoxn/mtae/">
<img src = "Book\cover_book\Wunnie_the_Heroine_fix03.PNG"width = "100%">
</a>
<div class="text"> Wunnie the Heroine</div>
</div>
<div style = "align: center;">
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
</div>
<br>
</div>
<!---->
<script>
var slideIndex = 1;
showSlides(slideIndex);
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
}
</script>
<footer class = "footer">
<h3 >The kitewithyou</h3>
<hr>
<p>Copyright © 2019 kitewithyou. The kitewithyou is not responsible for the content of external sites. Read about our approach to external linking.</p>
</footer>
</body>
</html>