-
Notifications
You must be signed in to change notification settings - Fork 0
/
tappfirst.html
624 lines (602 loc) · 26 KB
/
tappfirst.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Tappfirst</title>
<link rel="icon" href="static/img/favicon.png" type="image/x-icon" />
<!-- CSS -->
<link href="static/css/styles.css" rel="stylesheet">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="static/js/SmoothScroll.js"></script>
<script type="text/javascript" src="static/js/jquery.viewportchecker.min.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<section id="intro">
<nav id="tappfirst-navbar" class="navbar">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="btn btn-default 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="/index#intro"><img src="static/img/tappfirst_webpage.png" alt="Tappfirst"/></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><a href="/index#intro" id="intro-nav" class="btn btn-default">Home <span class="sr-only">(current)</span></a></li>
<li><a href="/index#testimonials" id="testimonials-nav" class="btn btn-default">Testimonials</a></li>
<li><a href="/index#features" id="features-nav" class="btn btn-default">Features</a></li>
<li><a href="/index#get-started" id="get-started-nav" class="btn btn-default">Get Started</a></li>
<li><a href="/index#tappfirst-team" id="tappfirst-team-nav" class="btn btn-default">The team</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<!-- Button trigger modal -->
<a href="#" data-toggle="modal" data-target="#signInModal">Sign In</a>
</li>
<li><a href="/signup">Sign Up</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<!-- Modal -->
<div class="modal fade text-center in" id="signInModal" tabindex="-1" role="dialog" aria-labelledby="signInModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<div class="modal-title" id="signInModalLabel">
<img src="static/img/tappfirst_webpage_old.png" alt="Tappfirst">
</div>
</div>
<div class="modal-body">
<form class="form-horizontal" action="dologin" autocomplete="on" method="POST">
<div class="form-group">
<label for="username" class="control-label">Username</label>
<input required id="username" name="username" type="text" class="form-control" placeholder="Username">
</div>
<div class="form-group">
<label for="password" class="control-label">Password</label>
<input required id="password" name="password" class="form-control" type="password" placeholder="********">
</div>
<div class="form-group">
<div class="col-sm-12" style="width:100%;">
<button id="signin-submit" type="submit" class="btn btn-success">Sign In</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="container intro-container">
<div class="row">
<div class="col-md-8 col-md-offset-2 text-center intro-content">
<div class="intro-text">
Make your students compete using your own questions
</div>
<!-- Button trigger modal -->
<span type="button" class="glyphicon glyphicon-play-circle btn-watch-video" id="intro-video-button" data-toggle="modal" data-backdrop="static" data-target="#myModal"></span>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-video" role="document">
<div class="modal-content">
<div class="modal-body">
<div class="row">
<div class="col-md-12 col-md-offset-1">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
</div>
<div class="embed-responsive embed-responsive-16by9">
<iframe id="intro-video" class="embed-responsive-item" src="//www.youtube.com/embed/bb80p5W0p84?autohide=2&border=0&wmode=opaque&enablejsapi=1&showinfo=0&rel=0" id="youtube-iframe"></iframe>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="testimonials">
<div class="container-fluid text-center">
<div class="row">
<div class="col-xs-12">
<div id="carousel-testimonials" class="carousel slide" data-ride="carousel">
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<div class="testimonial-content">
<blockquote class="testimonial-quote">
<p>
<span class="testimonial-visible">By using Tappfirst, I could see a significant increase of excitement during class time. The students even ask to play it on a regular basis!</span>
<span class="testimonial-hidden">As an English school owner and teacher, I am always looking for ways to make my students more engaged during the lessons and happier so that they'll look forward to coming back to my school. By using Tappfirst, I could see a significant increase of excitement during class time. The students even ask to play it on a regular basis!
The fact that students can make their own questions to be used in the game helps them to not only use their creativity which is essential to learning English but also to instantly apply their skills in a fun and engaging way. Since there is no limit to the number or type of questions, Tappfirst can be applied in a variety of ways to a variety of classroom situations. The software is like no other materials I have used during the seventeen years I have taught English in Japan.
</span>
</p>
<a class="testimonial-collapse testimonial-read-more">Read more...</a>
<footer>Simon Sakala, owner of the Oasis English school in Japan</footer>
</blockquote>
</div>
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-testimonials" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-testimonials" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
</div>
</section>
<section id="features">
<div class="container text-center">
<div class="row top-heading-1">
<div class="col-xs-12">
The best way to motivate and involve your students
</div>
</div>
<div class="row top-heading-2">
<div class="col-md-8 col-md-offset-2">
Increase your student's interest, focus, and enthusiasm for the material
</div>
</div>
<div class="row">
<div class="col-md-6 features-column features-left">
<div class="features-content-wrap features-bullets">
<span class="glyphicon glyphicon-education features-icon" aria-hidden="true"></span>
<div class="features-heading">Introducing a new approach to learning and reviewing</div>
<div class="row features-body">
<div class="col-md-12">
<ol class="list-unstyled text-left">
<li>Learn and review by competing against others</li>
<li>Transform learning into a fun social game</li>
<li>Help students be motivated & excited to learn</li>
</ol>
</div>
<div class="col-md-12">
<span class="glyphicon glyphicon-menu-right btn btn-primary"></span>
</div>
</div>
</div>
<div class="row features-content-wrap features-description features-out-right features-hidden">
<div class="col-md-12">
<p>
TappFirst introduces competition to learning and reviewing, a simple idea yet surprisingly not put into use in the classroom or even online. Competition drives people to perform better: nobody likes losing in a game or sport. At school, students are able to compete in sports but when it comes to other courses, learning and reviewing often becomes a lonely, tedious and boring task for students. With TappFirst, we want to make learning more fun, effective and social.
</p>
</div>
<div class="col-md-12">
<span class="glyphicon glyphicon-menu-left btn btn-primary"></span>
</div>
</div>
</div>
<div class="col-md-6 features-column features-right">
<div class="features-content-wrap features-bullets">
<span class="glyphicon glyphicon-user features-icon" aria-hidden="true"><span class="glyphicon glyphicon-user features-icon" aria-hidden="true"></span></span>
<div class="features-heading">Social, fun and competitive learning</div>
<div class="row features-body">
<div class="col-md-12">
<ol class="list-unstyled text-left">
<li>Competition drives people</li>
<li>Learning with others is more engaging</li>
<li>Competing with peers boosts attention</li>
</ol>
</div>
<div class="col-md-12">
<span class="glyphicon glyphicon-menu-right btn btn-primary"></span>
</div>
</div>
</div>
<div class="row features-content-wrap features-description features-out-right features-hidden">
<div class="col-md-12">
<p>
With TappFirst, students can learn and review the material taught in class with their peers by competing on a set of questions. Famous TV shows such as Jeopardy employ this idea and the concept is so popular that similar shows have been airing all around the world. Because of the competitive aspect of TappFirst, even students who do not have any interest for the course material start wanting to study more in order to win at the game. Competition also introduces a social aspect to learning and reviewing, which helps in making learning more fun and engaging.
</p>
</div>
<div class="col-md-12">
<span class="glyphicon glyphicon-menu-left btn btn-primary"></span>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 features-column features-left">
<div class="features-content-wrap features-bullets">
<span class="glyphicon glyphicon-pencil features-icon" aria-hidden="true"></span>
<div class="features-heading">Create and edit any questions on any subject</div>
<div class="row features-body">
<div class="col-md-12">
<ol class="list-unstyled text-left">
<li>Create questions on any subject</li>
<li>Choose the number of questions and time limit</li>
<li>Use your questions to make your students compete</li>
</ol>
</div>
<div class="col-md-12">
<span class="glyphicon glyphicon-menu-right btn btn-primary"></span>
</div>
</div>
</div>
<div class="row features-content-wrap features-description features-out-right features-hidden">
<div class="col-md-12">
<p>
As a teacher, you can use TappFirst to test your students on any amount of questions and any subject you want by simply signing up, creating a room and filling in your questions. Then, let your students know which room number corresponds to the set of questions you have made and the game begins. With TappFirst, there is no limit to the amount and variety of questions you want to test your students on. We let you the teachers decide how to use TappFirst, as we believe no software can replace teachers since teachers are irreplaceable. However, we do believe software can serve as a useful tool in learning.
</p>
</div>
<div class="col-md-12">
<span class="glyphicon glyphicon-menu-left btn btn-primary"></span>
</div>
</div>
</div>
<div class="col-md-6 features-column features-right">
<div class="features-content-wrap features-bullets">
<span class="glyphicon glyphicon-road features-icon" aria-hidden="true"></span>
<div class="features-heading">Unlock your student's potential and lead them on the road to success</div>
<div class="row features-body">
<div class="col-md-12">
<ol class="list-unstyled text-left">
<li>Competitive learning increases retention</li>
<li>Competition pushes students to learn faster</li>
<li>Learning is more effective and fun!</li>
</ol>
</div>
<div class="col-md-12">
<span class="glyphicon glyphicon-menu-right btn btn-primary"></span>
</div>
</div>
</div>
<div class="row features-content-wrap features-description features-out-right features-hidden">
<div class="col-md-12">
<p>
Competition in learning and reviewing introduces a sense of urgency that pushes students to know the material as best as they can since there is no telling when the other peer will pick the right answer first. This introduces a bigger incentive to study and prepare for the quizzes in order to win. Furthermore, it pushes students to retain and know the material more deeply since the sense of urgency pushes users to pick the answer they think is correct as fast as possible without having much time to think. With TappFirst, the goal is not only to make learning more fun and exciting, but also to help students learn faster and more efficiently, ultimately helping them succeed in their learning.
</p>
</div>
<div class="col-md-12">
<span class="glyphicon glyphicon-menu-left btn btn-primary"></span>
</div>
</div>
</div>
</div>
<div class="row text-center features-button">
<a href="#get-started" id="get-started-call" class="btn btn-danger big-button">
Get started<span class="glyphicon glyphicon-arrow-down"></span>
</a>
</div>
</div>
</section>
<section id="get-started">
<div class="wrapper">
<div class="container-fluid text-center">
<div class="row">
<div id="highlight-pane-2" class="col-md-6">
<div class="row">
<button id="how-it-works-button" class="btn btn-default">How It Works</span>
</div>
<div class="row table-steps">
<table class="table table-hover">
<tbody>
<tr>
<td>Step 1</td><td>Sign Up on TappFirst and create questions</td>
</tr>
<tr>
<td>Step 2</td><td>Download the App</td>
</tr>
<tr>
<td>Step 3</td><td>Make your students compete on your quizzes!</td>
</tr>
</tbody>
</table>
</div>
<div class="row">
<span id="pane-arrow-download" class="glyphicon glyphicon-arrow-right"></span>
</div>
</div>
<div id="highlight-pane-1" class="col-md-6">
<div class="row">
<div class="col-xs-12">
<span class="glyphicon glyphicon-phone"></span>
</div>
</div>
<div class="row">
<div class="col-xs-12 top-highlight-pane-heading">TappFirst is on IOS and Android</div>
</div>
<div class="row">
<div class="col-xs-8 col-xs-offset-2 top-highlight-pane-body">Download TappFirst for your device and start the competition!</div>
</div>
<div class="row">
<div class="col-xs-12 top-highlight-pane-footer">
<ul class="list-unstyled list-inline">
<li>
<a target="_blank" href="https://itunes.apple.com/us/app/tappfirst/id1007287105?mt=8">
<img class="hover-image" src="static/img/app_store_badge.png">
</a>
</li>
<li>
<a target="_blank" href="https://play.google.com/store/apps/details?id=com.tappfirst.studentapp&hl=en">
<img class="hover-image" src="static/img/play_store_badge.png">
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="tappfirst-team">
<div class="container text-center">
<div class="row top-heading-1">
<div class="col-xs-12">
<span id="meet-team">Meet the team</span>
</div>
</div>
<div class="row team-content">
<div class="col-md-6">
<div class="row team-heading">
<div class="col-md-8 col-md-offset-2">
Founders
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="team-image center-block">
<a target="_blank" href="https://www.linkedin.com/pub/jacques-le-normand/16/7b0/a35">
<div class="team-image-container" id="ceo-img">
<div class="team-image-wrap">
<div class="team-linkedIn">View LinkedIn</div>
</div>
</div>
</a>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 team-name">
CEO, Jacques Le Normand
</div>
</div>
</div>
<div class="col-md-6">
<div class="row team-heading">
<div class="col-md-8 col-md-offset-2">
Contributors
</div>
</div>
<div class="row">
<div class="row">
<div class="col-md-12">
<div class="team-image center-block">
<a target="_blank" href="https://www.linkedin.com/in/jordanrooks">
<div class="team-image-container" id="webmaster-img">
<div class="team-image-wrap">
<div class="team-linkedIn">View LinkedIn</div>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 team-name">
Webmaster, Jordan Rooks
</div>
</div>
</div>
</div>
</div>
</section>
<section id="banner-sign-up">
<div class="container-fluid text-center">
<div class="container-fluid text-center">
<div class="row">
<div class="col-md-6 col-md-offset-3 banner-text">
<table class="banner-content"><tbody><tr>
<td>
Sign up your students for the competition now
</td>
</tr></tbody></table>
</div>
<div class="col-md-3 banner-button">
<table class="banner-content"><tbody><tr>
<td>
<a href="/signup" id="banner-sign-up-button" class="btn btn-danger">Sign Up</a>
</td>
</tr></tbody></table>
</div>
</div>
</div>
</div>
</section>
<section id="footer">
<div class="container text-left">
<div class="row footer-content">
<div class="col-md-5 col-md-offset-3">
<div class="footer-text footer-header">Company</div>
<div class="footer-text footer-link"><a href="#">Company culture</a></div>
</div>
<div class="col-md-4">
<div class="footer-text footer-header">Social</div>
<div class="footer-text footer-link"><a href="mailto:tappfirst.master@gmail.com">Email us</a></div>
</div>
</div>
</div>
</section>
{% endblock %}
{% block scriptblock %}
<script type="text/javascript">
function updateActiveLink(newActive)
{
$($('.navbar .nav > li > a.active')[0]).removeClass('active');
newActive.addClass('active');
}
$(document).ready(function() {
$('#tappfirst-navbar').addClass('navbar-fixed-top');
updateActiveLink($("#intro-nav"));
//Play video on button click
$('#intro-video-button').click(function() {
$('#intro-video')[0].contentWindow.postMessage('{"event":"command","func":"' + 'playVideo' + '","args":""}', '*');
$('body').toggleClass('modal-black');
});
$('#myModal').on('hidden.bs.modal', function () {
$('#intro-video')[0].contentWindow.postMessage('{"event":"command","func":"' + 'stopVideo' + '","args":""}', '*');
$('body').toggleClass('modal-black');
setTimeout(function(){ $('#intro-video-button').blur(); }, 50);
});
//smooth scroll to internal links navbar
$('.navbar .navbar-nav:not(".navbar-right") a[href^="/index#"], .navbar-brand, #get-started-call').on('click',function (e) {
e.preventDefault();
var target = this.hash;
var $target = $(target);
//animate scroll
$('html, body').stop().animate({
'scrollTop': $target.offset().top - 75
}, 900, 'swing');
});
//Change navbar to fixed and active link based on verticall scroll
var navbar = $($("#intro > .navbar")[0]);
var logo = $($(".navbar-brand > img")[0]);
$(window).scroll(function() {
var windscroll = $(window).scrollTop();
if (windscroll >= 50) {
navbar.addClass("navbar-default");
logo.attr("src","static/img/tappfirst_webpage_old.png");
$('body > section').each(function(i,d) {
if ($(this).position().top <= $(window).scrollTop() + 200) {
updateActiveLink($("#" + d.id + "-nav"));
}
});
} else {
navbar.removeClass("navbar-default");
logo.attr("src","static/img/tappfirst_webpage.png");
}
});
//Unfocus navbar buttons after click
$('.navbar .nav > li > a').click(function() { this.blur() });
//Scroll features animation
$('.features-column.features-left').addClass("features-hidden").viewportChecker({
classToAdd: 'bounceInLeft',
classToRemove: 'features-hidden',
offset: 150
});
$('.features-column.features-right').addClass("features-hidden").viewportChecker({
classToAdd: 'bounceInRight',
classToRemove: 'features-hidden',
offset: 150
});
//Features navigation buttons
$('.glyphicon-menu-left, .glyphicon-menu-right').click(function(){
var contentWrap = $(this).closest('.features-content-wrap');
if($(this).hasClass("glyphicon-menu-right"))
{
contentWrap.addClass("features-out-left");
setTimeout(function(){
contentWrap.addClass("features-hidden");
var siblingWrap = contentWrap.siblings('.features-content-wrap');
siblingWrap.removeClass("features-hidden");
siblingWrap.parent().addClass("features-flow-height");
setTimeout(function(){ siblingWrap.removeClass("features-out-right"); }, 100);
}, 1000);
}
else
{
contentWrap.addClass("features-out-right");
setTimeout(function(){
contentWrap.addClass("features-hidden");
var siblingWrap = contentWrap.siblings('.features-content-wrap');
siblingWrap.parent().removeClass("features-flow-height");
siblingWrap.removeClass("features-hidden");
setTimeout(function(){ siblingWrap.removeClass("features-out-left"); }, 100);
}, 1000);
}
});
//How it works button
$( "#how-it-works-button" ).click(function() {
var time = 0;
$('#highlight-pane-2 .table tr').each(function(i,elmt) {
setTimeout(function(){ $(elmt).addClass('hover'); }, 200 * (i+1));
setTimeout(function(){ $(elmt).removeClass('hover'); }, 300 * (i+1));
time = 300 * i;
});
time += 500;
setTimeout(function(){ $('#pane-arrow-download').addClass('hover'); }, time);
setTimeout(function(){ $('#pane-arrow-download').removeClass('hover'); }, time + 1000);
time += 1000;
setTimeout(function(){ $('#highlight-pane-1').addClass('hover'); }, time);
setTimeout(function(){ $($('#highlight-pane-1 .hover-image')[0]).addClass('hover'); }, time + 400);
setTimeout(function(){ $($('#highlight-pane-1 .hover-image')[0]).removeClass('hover'); }, time + 800);
setTimeout(function(){ $($('#highlight-pane-1 .hover-image')[1]).addClass('hover'); }, time + 1000);
setTimeout(function(){ $($('#highlight-pane-1 .hover-image')[1]).removeClass('hover'); }, time + 1400);
setTimeout(function(){ $('#highlight-pane-1').removeClass('hover'); }, time + 1600);
});
$('#pane-arrow-download').click(function() {
$('#highlight-pane-1').addClass('hover');
setTimeout(function(){ $($('#highlight-pane-1 .hover-image')[0]).addClass('hover'); }, 400);
setTimeout(function(){ $($('#highlight-pane-1 .hover-image')[0]).removeClass('hover'); }, 800);
setTimeout(function(){ $($('#highlight-pane-1 .hover-image')[1]).addClass('hover'); }, 1000);
setTimeout(function(){ $($('#highlight-pane-1 .hover-image')[1]).removeClass('hover'); }, 1400);
setTimeout(function(){ $('#highlight-pane-1').removeClass('hover'); }, 1600);
});
//Testimonial collapse
$('.testimonial-collapse').click(function(){
var visible = $(this).parent().find('.testimonial-visible');
var hidden = $(this).parent().find('.testimonial-hidden');
visible.attr('class', 'testimonial-hidden');
hidden.attr('class', 'testimonial-visible');
if($(this).hasClass( "testimonial-read-more" ))
{
$(this).removeClass("testimonial-read-more");
$(this).addClass("testimonial-read-less");
$(this).text("Read less...");
}
else
{
$(this).removeClass("testimonial-read-less");
$(this).addClass("testimonial-read-more");
$(this).text("Read more...");
}
});
function bsCarouselAnimHeight()
{
$('.carousel').carousel({
interval: 5000
}).on('slide.bs.carousel', function (e)
{
var nextH = $(e.relatedTarget).height();
var carouselInner = $(this).find('.active.item').parent();
carouselInner.animate({ height: nextH }, 500);
setTimeout(function(){ carouselInner.css('height','auto'); }, 600);
});
}
bsCarouselAnimHeight();
});
</script>
<script type="text/javascript">
$('.form-control').on('focus blur', function (e) {
$(this).parents('.form-group').toggleClass('focused', (e.type === 'focus' || this.value.length > 0));
}).trigger('blur');
</script>
</body>
</html>