-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex-14122019.html
728 lines (649 loc) · 23.3 KB
/
index-14122019.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
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
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<meta name="theme-color" content="#0c5ca2" >
<link rel="icon" type="image/png" href="https://i.ibb.co/DVpqNCK/gci-favicon-64.png" sizes="16x16,32x32,64x64" >
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.css" integrity="sha256-a2tobsqlbgLsWs7ZVUGgP5IvWZsx8bTNQpzsqCSm5mk=" crossorigin="anonymous" />
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<!--unused css
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css" />
-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.0/jquery.waypoints.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/marrio-h/universal-parallax/dist/universal-parallax.js"></script>
<script src="https://cdn.jsdelivr.net/npm/aos@3.0.0-beta.6/dist/aos.min.js"></script>
<!--
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js" crossorigin="anonymous"></script>
-->
<title>:: Home | SKWebs Services ::</title>
<style type="text/css">
{border:thin solid magenta;}
.contentBox{animation:hue 60s linear infinite;}
.parallax__container + div{background:#fff;}
/*html{font-size:20px;}*/
.parallax__container{
height:150px;
}
#debug{
display:none;
position:fixed;
top:50%;
left:0;
padding:5px;
background:#000;
color:#fff;
z-index:1000;
width:100%;
}
.cont{color:inherit;}
.bg-img{background:url("https://i.ibb.co/kJs58ht/photo-1460925895917-afdab827c52f.jpg");}
:root{
--grad-blue:linear-gradient(to right top, #000749 20%, #1CB1FB);
--grad-orange:linear-gradient(to right top, #BA2B60,30%, #FBA939);
--grad-teal:linear-gradient(to right top, #006161, #00c7c7);
--grad-blue-new:linear-gradient(to right top,#0d47a1,#33b5e5);
}
/* --------------------------------
Primary style
-------------------------------- */
*, *::after, *::before {
box-sizing: border-box;
margin:0;
padding:0;
}
/* nav */
nav{
box-shadow: 0 0 5px 2px rgba(0,0,0,.2);
}
.navbar-brand img{
height:30px !important;
animation:hue 6s linear infinite;
}
section{transition: background .3s;}
.overflow-x-hidden{
overflow-x:hidden;
}
.navbar-toggler:hover,.navbar-toggler:active,.navbar-toggler:focus{outline:none;}
.contentBoxWrap{
width:100%;
in-height:100vh;
}
.contentBox{
width:100%;
}
.content{
height:200px;
overflow-y:hidden;
text-align:justify;
}
/*.wow{
visibility:hidden;
}*/
/* data-aos */
[data-aos] {
visibility: hidden;
}
[data-aos].animated {
visibility: visible;
}
/*
|-----------------------------------------
| footer css (All footer CSS here)
|-----------------------------------------
*/
.copyright {
background:rgba(0,0,0,.2);
color:grey;
}
#more-links a{
margin:5px 10px;
display:inline-block;
color:grey;
text-decoration:none;
transition:.5s;
}
#more-links a:hover{
color:#fff;
transform:translateX(3px);
}
.social{flex-direction:row !important;color:grey;}
.social ul{
margin:0 5px;
padding:0;
display:flex;
}
.social ul li{
list-style:none;
margin:0 5px;
}
.social ul li a{
position:relative;
display:flex;
justify-content:center;
align-items:center;
width:40px;
height:40px;
/*border-radius:50%;*/
text-decoration:none;
font-size:1.25rem;
color:#fff;
transition:all .5s;
}
.social ul li a .fa{
transition:.5s;
}
.social ul li a:hover{
border:1px solid #fff;
border-radius:50%;
}
.social ul li a:hover .fa{
color:#fff;
transform:scale(.85);
}
/* active */
.active{
background-image:linear-gradient(10deg, #000749 20%, #1CB1FB);
padding:0 12px;border-radius:5px;
font-weight:bold;
}
.active a{color:#fff !important;}
.center-center{display:flex;flex-direction: column;justify-content: center;align-items:center;}
/* color platelets */
.bg-grad-blue{background-image:var(--grad-blue);}
.bg-grad-blue-new{background-image:var(--grad-blue-new);}
.bg-grad-orange{background-image:var(--grad-orange);}
.bg-grad-teal{background-image:var(--grad-teal);}
.bg-op-1{background:rgba(0,0,0,.1);}
.bg-op-3{background:rgba(0,0,0,.3);}
.bg-op-5{background:rgba(0,0,0,.5);}
.bg-op-7{background:rgba(0,0,0,.7);}
/* animation delay classes */
.delay-0s1{animation-delay:0.1s;}
.delay-0s2{animation-delay:0.2s;}
.delay-0s3{animation-delay:0.3s;}
.delay-0s4{animation-delay:0.4s;}
.delay-0s5{animation-delay:0.5s;}
.delay-0s6{animation-delay:0.6s;}
.delay-0s7{animation-delay:0.7s;}
.delay-0s8{animation-delay:0.8s;}
.delay-0s9{animation-delay:0.9s;}
.delay-1s1{animation-delay:1.1s;}
.delay-1s2{animation-delay:1.2s;}
.delay-1s3{animation-delay:1.3s;}
.delay-1s4{animation-delay:1.4s;}
.delay-1s5{animation-delay:1.5s;}
.delay-1s6{animation-delay:1.6s;}
.delay-1s7{animation-delay:1.7s;}
.delay-1s8{animation-delay:1.8s;}
.delay-1s9{animation-delay:1.9s;}
.delay-2s5{animation-delay:2.5s;}
.delay-3s5{animation-delay:3.5s;}
.delay-4s5{animation-delay:4.5s;}
.delay-5s5{animation-delay:5.5s;}
/* Animations */
@keyframes bgGradBlue{
0% {
/* background-image:linear-gradient(#fff,#fff);*/
background:red;
color:#000;
}
100% {
/*background-image:linear-gradient(to right top, #000749 20%, #1CB1FB);*/
background:blue;
color:#fff;}
}
/*
|-----------------------------------------
| common css that apply anywhere
|-----------------------------------------
*/
.grad-blue{background:var(--bg-gradient-blue);}
.nowrap{white-space:nowrap;}
.bg-half-black{background-color: rgba(0,0,0,.1);}
.bg-black{background:#000;}
.text-lightgrey{color:lightgrey;}
.share{
position:fixed;
background:rgba(255,255,255,.05);
width:40px;
height:40px;
border-radius:50%;
right:25px;
bottom:100px;
box-shadow:0 0 10px rgba(0,0,0,.5),0 0 25px rgba(0,0,0,.05);
color:rgba(0,0,0,.3);
z-index:1200;
}
.font-1-1rem{font-size:1.1rem;}
.font-1-2rem{font-size:1.2rem;}
.font-1-3rem{font-size:1.3rem;}
.font-1-4rem{font-size:1.4rem;}
.font-1-5rem{font-size:1.5rem;}
.font-1-6rem{font-size:1.6rem;}
.font-1-7rem{font-size:1.7rem;}
.font-1-8rem{font-size:1.8rem;}
.font-1-9rem{font-size:1.9rem;}
.font-2-0rem{font-size:2.0rem;}
/**
* Backgrounds
*/
.backgrounds {
width: 100%;
height: 100%;
position: fixed;
-webkit-transform: translateZ(0);
transform: translateZ(0);
z-index: -101; }
.backgrounds .background {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.overlay:after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
background: #000;
opacity: 0.7; }
overlay-1{
background:rgba(0,0,0,.7), url("https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcSjQKjxarl50qcPL52CN6MFbivsA0iS9swDjxA_9LtWHYEFM36n");
width:100%;height:100%;
}
@keyframes hue{
0%{filter:hue-rotate(0deg);}
100%{filter:hue-rotate(360deg);}
}
/* Universal Parallax */
.parallax__container {
clip: rect(0, auto, auto, 0);
/*height: 100vh;*/
left: 0;
overflow: hidden;
position: absolute;
top: 0;
width: 100%;
z-index: -100;
}
.parallax {
position: fixed;
top: 0;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
width: 100%;
/* BG behaviour */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
/*.parallax {opacity: 0.5;}*/
</style>
</head>
<body>
<p id="debug" ></p>
<!--<div class="backgrounds overlay">
<div class="background" data-aos="fadeIn" data-aos-duration="1500" data-aos-anchor=".section--hero" style="background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQDwtxOKb9s9KVaQ9UdFt9gofS5qL1JvHmBwKSG60-QTtSGgnvH');"></div>
</div>
-->
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<a class="navbar-brand" href="./" data-aos="bounceInRight" >
<!-- <img src="https://i.ibb.co/3C2L76s/gl3.jpg" >--
<img src="https://i.ibb.co/qyQZ8dT/SKWebs.png" >
<!--<img src="https://i.ibb.co/k6Mw8Dm/skwebs-o.png" >
--
<img src="https://i.ibb.co/PwYPVRF/skwebs-bw.png" >
-->
<img src="https://i.ibb.co/VBf9jFV/skwebs-64-34.png" >
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navContent" aria-controls="navContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse p-0 pt-2" id="navContent">
<ul class="navbar-nav p-0 ml-auto">
<li class="nav-item active">
<a class="nav-link" href="#welcome">Welcome <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#about">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact">Contact Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#example">Example</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#more-links">More Links</a>
</li>
</ul>
</div>
</nav>
<div class="row m-0 " >
<div class="col-md-8 offset-md-2 pageWrap overflow-x-hidden" >
<section id="welcome" class="pt-3" >
<div class="parallax__container" >
<div class=" w-100 h-100 p-3 center-center" >
<p data-aos="fadeIn" class="h3 p-3 bg-grad-blue text-center text-light rounded w-100" >Welcome</p>
</div>
<div class="parallax bg-img"></div>
</div>
<div data-aos="fadeIn" class="contentBoxWrap" >
<div class="contentBox py-4" >
<p class="vp p-4 font-1-3rem bg-grad-blue text-light rounded text-justify" data-aos="fadeIn delay-0s6">
Welcome in SKWebs. Here you get some good idea with code and their example based on my creative idea for beginners
that can you use in your project. And you also get some selected useful plugin that make your project unique.
</p>
</div>
</div>
</section>
<section id="about" >
<div class="parallax__container" >
<div class=" w-100 h-100 p-3 center-center" >
<p data-aos="fadeIn" class="h3 p-3 bg-grad-blue text-center text-light rounded w-100" >About Us</p>
</div>
<div class="parallax bg-img"></div>
</div>
<div data-aos="fadeIn" class="contentBoxWrap" >
<div class="contentBox py-4" >
<span class="vpt" ></span>
<p class="vp p-4 font-1-3rem rounded text-justify" data-aos="fadeIn delay-0s6">
Hi, I am Satish. I have knowledge and experience of front-end language as like <b>html, CSS, JavaScript</b> and back-end script <b>php, MySQL</b> with <b> Object Oriented Programme (OPP) Concept</b> and also have
knowledge of frameworks as like <b>Bootstrap, jquery</b> and another useful <b>PHP Libraries</b>. I like to create something new and I always curious about learn and use new things.
</p>
</div>
</div>
</section>
<section id="contact" >
<div class="parallax__container" >
<div class=" w-100 h-100 p-3 center-center" >
<p data-aos="fadeIn" class="h3 p-3 bg-grad-blue text-center text-light rounded w-100" >Contact Us</p>
</div>
<div class="parallax bg-img"></div>
</div>
<div data-aos="fadeIn" class="contentBoxWrap" >
<div class="contentBox py-4" >
<span class="vpt" ></span>
<p class="vp p-3 p-md-3 font-1-2rem rounded text-justify" data-aos="fadeIn delay-0s6">
Email : <a class="cont" href="mailto:skwebservices@gmail.com" >skwebservices@gmail.com</a><br>
Connect on : <a class="cont border px-1 rounded" href="https://facebook.com/satishkumarsharma05/" >Facebook</a><br>
Connect on : <a class="cont border px-1 rounded" href="https://m.me/sks555sk" >Messenger</a><br>
</p>
</div>
</div>
</section>
<section id="example" >
<div class="parallax__container" >
<div class=" w-100 h-100 p-3 center-center" >
<p data-aos="fadeIn" class="h3 p-3 bg-grad-blue text-center text-light rounded w-100" >Example</p>
</div>
<div class="parallax bg-img"></div>
</div>
<div data-aos="fadeIn" class="contentBoxWrap" >
<div class="contentBox py-4" >
<span class="vpt" ></span>
<p class="vp p-4 font-1-3rem rounded text-justify" data-aos="fadeIn delay-0s6">
I have made some example of sidebar menu.
<br>
<u><a class="cont" href="https://skwebs.github.io/sidebarMenu.html" >Demo - Sidebar Menu</a>
<br>
<a class="cont" href="https://skwebs.github.io/with_profile_pic.html" >Demo - Sidebar with image</a>
</p></u>
</div>
</div>
</section>
</div> <!-- overflow-x-hidden -->
</div> <!-- row -->
<style type="text/css">
.devContBox{
width:100%;
margin:0 auto;
height:350px;
border-radius:5px;
/*background:rgba(0,0,0,.05);*/
overflow:hidden;
order:1px solid grey;
box-shadow:0 0 15px 10px rgba(0,0,0,.25);
transform:translateZ(10px);
}
.devContBox > div:first-child {
width: 100%;
height:30%;
transition:all 3s;
background-image:linear-gradient(to top right, blue, magenta);
/*background-image:linear-gradient(to top right, #000749 20%, #1CB1FB);
*/
}
.devContBox > div:last-child {
width: 100%;
height:70%;
border-radius:0px;
}
.circle {
width:120px;
height:120px;
border:5px solid #fff;
border-radius:50%;
position:absolute;
left:50%;
margin-top:-15px;
transform:translate(-50%, -50%);
background:grey;
background-image:url("https://anshumemorial.in/old/img/sk-m.jpg");
background-position:center;
background-size:cover;
}
.hr {
border: none;
margin:0;
height: 1px;
background-color: #c0c8c9;
background-image: linear-gradient(to right, #ffffff 0%,#c0c8c9 50%,#ffffff 100%);
}
.devContBox p{
font-size:1.2rem;
color:grey;
}
.p-2{
padding:0 5px;
}
.mt-7{margin-top:4rem !important;}
.bg-0{background:rgba(0,0,0,0);}
.visible-none{visibility:hidden;}
</style>
<i class="share center-center fa fa-share-alt fa-2x" ></i>
<footer data-aos="fadeIn faster" data-aos-offset="0" class="footer bg-dark" >
<div class="py-1 bg-primary" >
<div class="container text-light social center-center" >
<ul class="d-none d-md-flex" > <li>Follow us on : </li></ul>
<ul>
<li class="fb" ><a href="https://fb.com/skwebsofficial/" ><i class="fa fa-facebook" ></i></a></li>
<li class="tw" ><a href="https://twitter.com/SatishKmrSharma/" ><i class="fa fa-twitter" ></i></a></li>
<li class="ig" ><a href="https://instagram.com/satishkmrsharma/" ><i class="fa fa-instagram" ></i></a></li>
<li class="yt" ><a href="#!" ><i class="fa fa-youtube" ></i></a></li>
</ul>
</div>
</div>
<hr class="m-0 bg-half-black" >
<div id="more-links" class="container py-4" >
<a href="mailto:skwebservices@gmail.com" >Email</a>
<a href="https://facebook.com/satishkumarsharma05">Facebook</a>
<a href="https://m.me/sks555sks" >Messenger</a>
</div>
<div data-aos="fadeIn" data-aos-offset="0" class="copyright my-auto py-4 text-center " >
©<script>document.write(new Date().getFullYear())</script> <a class="text-lightgrey mr-md-5" href="./" ><b>S.K. Web Services</b>.</a><span class="d-none d-md-inline" >All Right Reserved.</span>
<!--<hr class="d-md-none bg-half-black" >
Designed & Developed by <strong><a href="https://skwebs.github.io" data-aos="pulse infinite" data-aos-offset="0" class="d-inline-block border border-primary rounded px-1" >S.K.Webs</a></strong> <!--<a href="https://facebook.com/skwebsofficial" class="nowrap border border-primary rounded px-1 d-inline-block" >S.K.Sharma <i class="fa fa-facebook-square" ></i></a>
-->
</div>
</footer>
<!-- Modal -->
<div class="modal fade" id="devModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content bg-0">
<div class="devContBox bg-light " >
<div>
</div>
<div>
<div class="circle" ></div>
<div class="text-center" >
<hr class="visible-none" >
<p class="mt-7" >SATISH SHARMA (Developer)</p>
<hr class="hr" >
<div class="p-2" ><p>This is v1.0.0 version website. Upgraded v2.0.0 version website will be launch very soon.</p></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS --
<script src="js/skwebs.js"></script>
-->
<script type="text/javascript">
$(document).ready(function () {
//menu collapse after clicking menu or other bpdy
$(".pageWrap, .nav-item").click(()=>{
$("#navContent").collapse('hide');
})
//set padding top of nav height
$('.pageWrap').css('padding-top',$('nav').outerHeight());
//$('section').css('padding-top',$('nav').outerHeight());
//var scrollLink = $('.scroll');
var scrollLink = $('.nav-link');
// Smooth scrolling
var topHeight = 67; //57;
scrollLink.click(function(e) {
e.preventDefault();
$('body,html').animate({
scrollTop: ($(this.hash).offset().top - topHeight //$("nav").outerHeight()
)
}, 1000 );
});
// Active link switching
$(window).scroll(function() {
var scrollbarLocation = $(this).scrollTop();
scrollLink.each(function() {
var sectionOffset = $(this.hash).offset().top - (topHeight + 3); //20;
if ( sectionOffset <= scrollbarLocation ) {
$(this).parent().addClass('active');
$(this).parent().siblings().removeClass('active');
}
})
})
// init universal parallax
new universalParallax().init({speed: 6.0});
/*/initialization
wow = new WOW({
boxClass: 'wow', // default
animateClass: 'animated', // default
offset: 120, // default
mobile: true, // default
live: true // default
})
//wow.init(); //disabled by comment
*/
var option={
useClassNames: true,
initClassName: false,
animatedClassName: 'animated'
};
AOS.init(option);
/*/way point with class
$(".vp").waypoint(function(direction){
//if(direction=='down'){
$(this[0,'element']).addClass("bg-grad-blue text-light"); //css('background','green');
//}else{
//$(this[0,'element']).removeClass("bg-grad-blue text-light") ; //css("background","#f00");
//}
},{offset:100 });
//way point with class
$(".vp").waypoint(function(direction){
//if(direction=='down'){
//$(this[0,'element']).addClass("bg-grad-blue text-light"); //css('background','green');
// }else{
$(this[0,'element']).removeClass("bg-grad-blue text-light") ; //css("background","#f00");
//}
},{offset:100 +"%"});
*/
//
var windowHeight = $(window).height(),
gridTop = windowHeight * 0,
gridBottom = windowHeight * 0.6;
$(window).on('loaded scroll', function () {
var nh=$("nav").outerHeight();
$('.vpt').each(function () {
var thisTop = $(this).offset().top - $(window).scrollTop();
var thisBottom = thisTop + $(this).outerHeight();
//$("#debug").html('gridTop :'+gridTop+'<br>gridBottom : '+gridBottom+'<br>thisTop : '+thisTop+'<br>thisBottom : '+thisBottom+'<br>winHeight : '+$(window).scrollTop()+"<br>navHeight : "+nh);
if ((thisTop + $(this).height()) < gridBottom) {
//if (thisTop > gridTop && (thisTop + $(this).height()) < gridBottom) {
if(!$(this).next().hasClass("bg-grad-blue text-light")){
$(this).next().addClass("bg-grad-blue text-light").removeClass("border") ; //css('background', 'red');
}//$(this).animate({backgroundImage:"linear-gradient(to right top, #000749 20%, #1CB1FB)"})
} else {
if($(this).next().hasClass("bg-grad-blue text-light")){
$(this).next().removeClass("bg-grad-blue text-light").addClass("border"); //css('background', 'gray');
}
}
});
});
//*/
/*
$('section').waypoint(function(direction) {
var activeSection = $(this).next();
var activeSection = $(this);
if(direction === 'down'){
activeSection = $(this).next();
}
const navHeight = $('nav').outerHeight();
activeSection = $(this);
var sectionId = this.element.id; //activeSection.attr('id');
$('ul li').removeClass('active');
//$('ul li.' + sectionId).addClass('active');
$('a[href*=\\#'+sectionId+']').parent().addClass('active');
console.log(activeSection);
console.log(this.element.id);
$("#navId").html(sectionId);
},{offset: $("nav").outerHeight()});*/
/*$('a[href*=\\#]:not([href=\\#])').click(function() {
$("#navContent").collapse('hide');
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
|| location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top - 56 //(target.height() / 5)
}, 600);
return false;
}
}
});
*/
}); //jquery ready
</script>
</body>
</html>