This repository has been archived by the owner on Mar 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
603 lines (537 loc) · 26 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Trinity In'tl College</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript" src="js/jquery.js"></script>
<link rel="stylesheet" type='text/css' href="css/fontawesome/all.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.2/css/all.css">
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
</head>
<body data-spy="scroll" data-target=".navbar">
<section id="home">
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"><img src="images/infrastructure/Trinity-International-College-1.jpg" style="width:50px; height:50px; margin-top:-15px"></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="#home">Home <span class="sr-only">(current)</span></a></li>
<li><a href="#courses">Courses</a></li>
<li><a href="#Trinitians">Trinitians</a></li>
<li><a href="#events">Events</a></li>
<li><a href="#news">News</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><div class="btn btn-default" style="margin-right:60px;"><i class="fas fa-pencil-alt"></i>Apply Now</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
</section>
<section id="Offers">
<div class="container bg2 ">
<div class="text-center">
<h2>We Provide Educational Solutions</h2>
<p style="color:#B30D15;">Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante<br> vitae laoreet sagittis. In pellentesque viverra purus. Sed risus est, molestie nec hendrerit hendreri </p>
</div>
<div class="row" style="margin-top:30px;">
<div class="col-md-4 " style="color:#000; overflow:hidden">
<div class="photo">
<img src="images/infrastructure/Physics Lab.JPG" >
</div>
<h4 style="color:#FEAF18;">Online Courses Facilities</h4>
<p>Vivamus volutpat eros pulvinar velit laoreet,<br> sit amet egestas erat dignissim</p>
</div>
<div class="col-md-4 " style="color:#000;">
<div class="photo">
<img src="images/infrastructure/Chemistry Lab.jpg" >
</div>
<h4 style="color:#FEAF18;">Students Panel</h4>
<p>Vivamus volutpat eros pulvinar velit laoreet,<br> sit amet egestas erat dignissim</p>
</div>
<div class="col-md-4 " style="color:#000;">
<div class="photo">
<img src="images/infrastructure/computerlab.JPG">
</div>
<h4 style="color:#FEAF18;">Perfect Guidelines</h4>
<p>Vivamus volutpat eros pulvinar velit laoreet,<br> sit amet egestas erat dignissim</p>
</div>
</div>
</div>
<div class="container-fluid bg3">
<div class="bg3-inner">
<div class="row">
<div class="col-md-6 col-xs-12" >
<div class="row">
<div class="col-md-4 col-xs-12">
</div>
<div class="col-md-8" style="margin-top:50px;">
<form style="background:#FFFFFF; width:100%; height:380px; color:#FEAD16;">
<div class="bg4 " style="text-align:center;background:#B30D15; color:#FFF; padding-left:0; padding-top:2px; " >
<h3 style="font-weight:bold;">Enroll Today</h3>
<h5>Before you miss the chance to get your seat!</h5>
</div>
<input type="text" name="name" placeholder="Your Name" style="margin-bottom:15px;margin-left:10px; width:80%"><br>
<input type="email" name="mail" placeholder="Your Email" style="margin-bottom:15px;margin-left:10px;width:80%"><br>
<input type="text" name="subject" placeholder="Subject" style="margin-bottom:15px;margin-left:10px;width:80%"><br>
<textarea style="color:#FEAD16; height:100px; width:80%; margin-top:20px; margin-left:10px;">Message</textarea><br>
<div class="btn btn-default" style="margin-left:10px;">Register</div>
</form>
</div>
</div>
</div>
<div class="col-md-6 bg5">
<h3 style="margin-top:40px;">We Have More than 28,690+ <br>Student With online Join!</h3><br>
<p style="font-size:9px">Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante vitae laoreet sagittis. In pellentesque viverra purus. Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante vitae laoreet sagittis.</p>
<div class="row">
<div class="col-md-3">
<div class="employees">
<p class="counter-count">5000</p>
<p class="employee-p">Students</p>
</div>
</div>
<div class="col-md-3">
<div class="employees">
<p class="counter-count">40</p>
<p class="employee-p">Courses</p>
</div>
</div>
<div class="col-md-3">
<div class="employees">
<p class="counter-count">150</p>
<p class="employee-p">Teachers</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="courses">
<div class="container bg6">
<div class="text-center">
<h2>Popular Courses We Offer</h2>
<p style="color:#B30D15;">Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante vitae laoreet sagittis. In pellentesque viverra purus. Sed risus est, molestie nec hendrerit hendreri</p>
</div>
<div class="row" style="padding-top:40px; text-align:left">
<div class="col-md-4 ">
<div class="one">
<img src="images/infrastructure/admission-open-2-science-management-humanities_1529819057.jpg" style="height:250px; width:100%">
<div class="title"><h4>+2 Science Management And humanities</h4></div>
</div>
</div>
<div class="col-md-4 ">
<div class="one">
<img src="images/infrastructure/admission-open-bca-bbm-bsc-csit-bbs-ba_1537414663.jpg" style="height:250px; width:100%">
<div class="title" style="text-transform:uppercase; padding:0 20px;"><h4>bca-bbm-bsc-csit-bbs-ba</h4></div>
</div>
</div>
<div class="col-md-4 ">
<div class="one">
<img src="images/infrastructure/images.png" style="height:250px; width:100%">
<div class="title" style="padding:0 100px;"><h4>A-Levels</h4></div>
</div>
</div>
</div>
</div>
<div class="container bg7">
<div class="row">
<div class="col-md-6">
</div>
<div class="col-md-6">
<div class="row">
<div class="col-md-10">
<div class="bg7-inner">
<h3>We Focus On Brands, Products & Campaigns</h3><br>
<p style="font-size:12px;">Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore cum. Coluta nobis est eligendi optio cumque nihil impedit quo minusd quod maxime placeat facere possimus, omnis voluptas assumenda est. Our friendly support team is standing by to help you every step of the way.<p><br>
<div class="btn-default text-center" style="width:150px;">Register Now</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="Trinitians">
<div class="container bg8">
<div class="text-center">
<h2>Our Awesome Teachers</h2>
<p>Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante vitae laoreet sagittis. In pellentesque viverra purus. Sed risus est, molestie nec hendrerit hendreri</p>
</div>
<div class="bg9">
<div class="row">
<div class="col-md-3">
<div class="two">
<img src="images/infrastructure/UT.jpg">
<div class="info text-center">
<br>
<h3 style="font-weight:bold;"> Umesh Thapa</h3><br>
<h4>Chief Executive Officer</h4><br>
<p style="font-size:9px;">cumque nihil impedit quo minusid quod maxime placeat facere possimus<p>
<p><i class="fab fa-facebook"></i> <i class="fab fa-twitter"></i> <i class="fab fa-instagram"></i> <i class="fab fa-pinterest-square"></i></p>
</div>
</div>
</div>
<div class="col-md-3">
<div class="two">
<img src="images/infrastructure/AL.jpg">
<div class="info " style="display:block !important">
<div class="text-center">
<br>
<h3 style="font-weight:bold;">Ajit Lama</h3><br>
<h4>Director</h4>
<h4>A Levels Programme</h4><br>
<p style="font-size:9px;">cumque nihil impedit quo minusid quod maxime placeat facere possimus<p>
<p><i class="fab fa-facebook"></i> <i class="fab fa-twitter"></i> <i class="fab fa-instagram"></i> <i class="fab fa-pinterest-square"></i></p>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="two">
<img src="images/infrastructure/DB.jpg">
<div class="info text-center">
<br>
<h3 style="font-weight:bold;">Dibya Bajracharya</h3><br>
<h4>Director</h4>
<h4>+2Science(Day)& Synergy</h4><br>
<p style="font-size:9px;">cumque nihil impedit quo minusid quod maxime placeat facere possimus<p>
<p><i class="fab fa-facebook"></i> <i class="fab fa-twitter"></i> <i class="fab fa-instagram"></i> <i class="fab fa-pinterest-square"></i></p>
</div>
</div>
</div>
<div class="col-md-3">
<div class="two">
<img src="images/infrastructure/AT.jpg">
<div class="info text-center">
<br>
<h3 style="font-weight:bold;"> Ambir Thapa
</h3><br>
<h4>Director</h4>
<h4>Administration & Discipline</h4><br>
<p style="font-size:9px;">cumque nihil impedit quo minusid quod maxime placeat facere possimus<p>
<p><i class="fab fa-facebook"></i> <i class="fab fa-twitter"></i> <i class="fab fa-instagram"></i> <i class="fab fa-pinterest-square"></i></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid bg10">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="bg11">
<div class="three img-rounded">
<img src="images/infrastructure/BR.jpg">
</div>
<h1 style="color:#B30D15"><i class="fas fa-quote-left"></i></h1>
<h4 style="font-weight:bold;">Bijuli P Rana</h4>
<p style="font-size:10px ; color:#C00">Nulla cursus a metus vel placerat. Fusce malesuada volutpat pretium. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus velit libero, viverra quis euismod vel pellentesque at tortor. Donec</p>
<h1 style="color:#B30D15; float:right"><i class="fas fa-quote-right"></i></h1>
</div>
</div>
<div class="col-md-6">
<div class="bg11">
<div class="three img-rounded">
<img src="images/infrastructure/SPS.jpg">
</div>
<h1 style="color:#B30D15"><i class="fas fa-quote-left"></i></h1>
<h4 style="font-weight:bold;">Shiva P Subedi</h4>
<p style="font-size:10px ; color:#C00">Nulla cursus a metus vel placerat. Fusce malesuada volutpat pretium. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus velit libero, viverra quis euismod vel pellentesque at tortor. Donec</p>
<h1 style="color:#B30D15; float:right"><i class="fas fa-quote-right"></i></h1>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="events">
<div class="bg12 container">
<div class="text-center">
<h2 style="color:#B30D15">Upcoming Events</h2>
<p style="color:#B30D15">Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante vitae laoreet sagittis. In pellentesque viverra purus. Sed risus est, molestie nec hendrerit hendreri</p>
</div>
<div class="row" style="margin-top:40px;">
<div class="col-md-4">
<div class="shadow">
<div class="four">
<img src="images/infrastructure/42124189_1974081782614955_8099383837135470592_n.jpg" style="height:200px;">
<div class="cover"></div>
</div>
<h5><i class="fas fa-calendar-alt"></i> 15 November</h5>
<h4>Debate Competion</h4>
<p style="font-size:10px;">Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante vitae laoreet sagittis. In pellentesque viverra purus. Sed risus est, molestie nec hendrerit hendreri</p>
<div class="btn-default" style="width:100px; border:#B30D15 solid 2px ; text-align:center;">Join now</div>
</div>
</div>
<div class="col-md-4">
<div class="shadow">
<div class="four">
<img src="images/infrastructure/40628678_1954259647930502_4852680494581547008_n.jpg" style="height:200px;">
<div class="cover"></div>
</div>
<h5><i class="fas fa-calendar-alt"></i> 17 November</h5>
<h4>Webdesign Competion</h4>
<p style="font-size:10px;">Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante vitae laoreet sagittis. In pellentesque viverra purus. Sed risus est, molestie nec hendrerit hendreri</p>
<div class="btn-default" style="width:100px; border:#B30D15 solid 2px ; text-align:center;">Join now</div>
</div>
</div>
<div class="col-md-4">
<div class="shadow">
<div class="four">
<img src="images/infrastructure/42058842_1974081675948299_188925780170899456_n.jpg" style="height:200px;">
<div class="cover"></div>
</div>
<h5><i class="fas fa-calendar-alt"></i> 19 November</h5>
<h4>Elocoution Competion</h4>
<p style="font-size:10px;">Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante vitae laoreet sagittis. In pellentesque viverra purus. Sed risus est, molestie nec hendrerit hendreri</p>
<div class="btn-default" style="width:100px; border:#B30D15 solid 2px ; text-align:center;">Join now</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="bg13">
<div class="bg13-inner">
<div class="wrapper">
<div class="counter col_fourth">
<i class="fa fa-code fa-2x"></i>
<h1 class="timer count-title count-number" data-to="15500" data-speed="1500"></h1>
<p class="count-text ">Active Cources</p>
</div>
<div class="counter col_fourth">
<i class="fa fa-coffee fa-2x"></i>
<h1 class="timer count-title count-number" data-to="3000" data-speed="1500">+</h1>
<p class="count-text ">Active Students</p>
</div>
<div class="counter col_fourth">
<i class="fas fa-video fa-2x"></i>
<h1 class="timer count-title count-number" data-to="1500" data-speed="1500"></h1>
<p class="count-text ">Video Cources</p>
</div>
<div class="counter col_fourth end">
<i class="fa fa-bug fa-2x"></i>
<h1 class="timer count-title count-number" data-to="15" data-speed="1500"></h1>
<p class="count-text ">Awards Won</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="news">
<div class="container bg14">
<div class="text-center">
<h2 style="color:#B20F14;">Latest News</h2>
<p>Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante vitae laoreet sagittis. In pellentesque viverra purus. Sed risus est, molestie nec hendrerit hendreri</p>
</div>
</div>
<div class="container bg16">
<div class="row">
<div class="col-md-4">
<div class="five">
<div class="six">
<img src="images/infrastructure/Cambridge Learner Award_2018.JPG" style="height:200px; width:100%;">
<div class="news"></div>
<div class="seven"><h5>07</h5><h5> NOV</h5></div>
</div>
<h4 style="font-weight:bold;">Trinity Won Cambridge learner Award </h4>
<p style="font-size:10px;">Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante vitae laoreet sagittis. In pellentesque viverra purus. Sed risus est, molestie nec hendrerit hendreri</p>
<div class="btn btn-default" style="">Read More..</div>
</div>
</div>
<div class="col-md-4">
<div class="five">
<div class="six">
<img src="images/infrastructure/Denisha Youth.jpg" style="height:200px; width:100%;">
<div class="news"></div>
<div class="seven"><h5>25</h5><h5> Oct</h5></div>
</div>
<h4 style="font-weight:bold;">Denisha Youth wins again </h4><br>
<p style="font-size:10px;">Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante vitae laoreet sagittis. In pellentesque viverra purus. Sed risus est, molestie nec hendrerit hendreri</p>
<div class="btn btn-default" style="">Read More..</div>
</div>
</div>
<div class="col-md-4">
<div class="five">
<div class="six">
<img src="images/infrastructure/Largest Blood Donor.JPG" style="height:200px; width:100%;">
<div class="news"></div>
<div class="seven"><h5>20</h5><h5> Oct</h5></div>
</div>
<h4 style="font-weight:bold;">Trinity is the largest blood donor </h4><br>
<p style="font-size:10px;">Mauris at varius orci. Vestibulum interdum felis eu nisl pulvinar, quis ultricies nibh. Sed ultricies ante vitae laoreet sagittis. In pellentesque viverra purus. Sed risus est, molestie nec hendrerit hendreri</p>
<div class="btn btn-default" style="">Read More.. </div>
</div>
</div>
</div>
</div>
</section>
<section id="contact">
<div class="bg15">
<div class="container">
<div class="row">
<div class="col-md-6">
<img src="images/infrastructure/Trinity-International-College-1.jpg" style="height:50px; width:50px; margin-top:50px; margin-left:100px;">
<p style="color:#B11017"> Vivamus volutpat eros pulvinar velit laoreet, sit amet egestas erat dignissim. Lorem ipsum dolor sit amet, consectetur</p>
<h5><i class="fas fa-phone" style="color:#B11017;"> </i> Phone: +123 456-7890</h5>
<h5><i class="fas fa-envelope" style="color:#B11017;"> </i> Email: [email protected]</h5>
<h5><i class="fas fa-map-marked-alt" style="color:#B11017;"> </i> Address: Dillibazaar Height, Kathmandu, Nepal</h5>
</div>
<div class="col-md-6" style="margin-top:50px; padding-left:50px;">
<h4 style="border-bottom:1px solid #900; color:#B11017;">Useful Links</h4>
<a href="#home" style="color:#fff;"><h5><i class="fas fa-angle-right"></i> Home</h5></a>
<a href="#Offers" style="color:#fff;"><h5><i class="fas fa-angle-right"></i> Offers</h5></a>
<a href="#courses" style="color:#fff;"><h5><i class="fas fa-angle-right"></i> Courses</h5></a>
<a href="#events" style="color:#fff;"><h5><i class="fas fa-angle-right"></i> Events</h5></a>
<a href="#Trinitians" style="color:#fff;"><h5><i class="fas fa-angle-right"></i> Trinitians</h5></a>
</div>
</div>
<hr style="color:#900;">
<h3 style="color:#B11017; padding-left:400px;"><i class="fab fa-facebook"></i> <i class="fab fa-twitter-square"></i> <i class="fab fa-instagram"></i> <i class="fab fa-pinterest-square"></i></h3>
</div>
</div>
</section>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script>
$('.counter-count').each(function () {
$(this).prop('Counter',0).animate({
Counter: $(this).text()
}, {
duration: 5000,
easing: 'swing',
step: function (now) {
$(this).text(Math.ceil(now));
}
});
});
</script>
<script>
(function ($) {
$.fn.countTo = function (options) {
options = options || {};
return $(this).each(function () {
// set options for current element
var settings = $.extend({}, $.fn.countTo.defaults, {
from: $(this).data('from'),
to: $(this).data('to'),
speed: $(this).data('speed'),
refreshInterval: $(this).data('refresh-interval'),
decimals: $(this).data('decimals')
}, options);
// how many times to update the value, and how much to increment the value on each update
var loops = Math.ceil(settings.speed / settings.refreshInterval),
increment = (settings.to - settings.from) / loops;
// references & variables that will change with each update
var self = this,
$self = $(this),
loopCount = 0,
value = settings.from,
data = $self.data('countTo') || {};
$self.data('countTo', data);
// if an existing interval can be found, clear it first
if (data.interval) {
clearInterval(data.interval);
}
data.interval = setInterval(updateTimer, settings.refreshInterval);
// initialize the element with the starting value
render(value);
function updateTimer() {
value += increment;
loopCount++;
render(value);
if (typeof(settings.onUpdate) == 'function') {
settings.onUpdate.call(self, value);
}
if (loopCount >= loops) {
// remove the interval
$self.removeData('countTo');
clearInterval(data.interval);
value = settings.to;
if (typeof(settings.onComplete) == 'function') {
settings.onComplete.call(self, value);
}
}
}
function render(value) {
var formattedValue = settings.formatter.call(self, value, settings);
$self.html(formattedValue);
}
});
};
$.fn.countTo.defaults = {
from: 0, // the number the element should start at
to: 0, // the number the element should end at
speed: 1000, // how long it should take to count between the target numbers
refreshInterval: 100, // how often the element should be updated
decimals: 0, // the number of decimal places to show
formatter: formatter, // handler for formatting the value before rendering
onUpdate: null, // callback method for every time the element is updated
onComplete: null // callback method for when the element finishes updating
};
function formatter(value, settings) {
return value.toFixed(settings.decimals);
}
}(jQuery));
jQuery(function ($) {
// custom formatting example
$('.count-number').data('countToOptions', {
formatter: function (value, options) {
return value.toFixed(options.decimals).replace(/\B(?=(?:\d{3})+(?!\d))/g, ',');
}
});
// start all the timers
$('.timer').each(count);
function count(options) {
var $this = $(this);
options = $.extend({}, options || {}, $this.data('countToOptions') || {});
$this.countTo(options);
}
});
</script>
<script>
(function($) {
// Add smooth scrolling to all links in navbar
$(".navbar a,a.btn-appoint, .quick-info li a, .overlay-detail a").on('click', function(event) {
var hash = this.hash;
if (hash) {
event.preventDefault();
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 900, function() {
window.location.hash = hash;
});
}
});
$(".navbar-collapse a").on('click', function() {
$(".navbar-collapse.collapse").removeClass('in');
});
//jQuery to collapse the navbar on scroll
$(window).scroll(function() {
if ($(".navbar-default").offset().top > 50) {
$(".navbar-fixed-top").addClass("top-nav-collapse");
} else {
$(".navbar-fixed-top").removeClass("top-nav-collapse");
}
});
})(jQuery);
</script>
</body>
</html>