-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
952 lines (714 loc) · 33.3 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
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
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
<!DOCTYPE html>
<html lang="en">
<head>
<!-- title and meta -->
<meta charset="utf-8"/>
<meta name="viewport" id="view"
content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta property="og:description"
content="Onyx Motion is building a digital coach for Android Wear and the Apple Watch smartwatches to help you play like a pro."/>
<meta property="og:image" content="http://onyxmotion.com/coverphoto_onyx.png"/>
<meta property="og:site_name" content="Swish by Onyx Motion | Sports Coaching with Smart Watches"/>
<link rel="icon"
type="image/png"
href="http://onyxmotion.com/favicon.png">
<link href='http://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="style/bootstrap.min.css">
<link rel="stylesheet" href="style/main.css"/>
<link href="style/animate.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="style/slicknav.css"/>
<title>Swish by Onyx Motion</title>
<!-- css -->
<style>
.dark {
opacity: 0;
}
@media screen and (max-width: 1100px) {
.custom1 {
padding-top: 120px;
padding-bottom: 100px;
color: #000;
position: relative;
width: 100%;
margin: 0 auto;
background-size: 100% auto;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
text-align: center;
background-color: #fff;
background-image: url('img/IMG_2540.JPG') !important;
}
.custom2 {
color: #000;
position: relative;
width: 100%;
margin: 0 auto;
padding-top: 100px;
padding-bottom: 100px;
background-size: 100% auto;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
text-align: center;
background-color: #fff;
background-image: url('img/demo2.jpg') !important;
}
}
</style>
<script src="js/jquery-1.9.min.js"></script>
<script src="js/throttle-debounce.min.js"></script>
<script src="js/jquery.malihu.PageScroll2id.js"></script>
<script src="js/stickies.js"></script>
</head>
<script>
(function ($) {
$(window).load(function () {
$("#nav-menu a,a[href='#top'],a[rel='m_PageScroll2id']").mPageScroll2id({
highlightSelector: "#nav-menu a"
});
$("a[rel='next']").click(function (e) {
e.preventDefault();
var to = $(this).parent().parent("section").next().attr("id");
$.mPageScroll2id("scrollTo", to);
});
$("a[rel='m_PageScroll2id']").mPageScroll2id({
offset: 49
});
});
})(jQuery);
(function ($) {
$(window).load(function () {
$("#nav-menu a,a[href='#top'],a[rel='m_PageScroll2id']").mPageScroll2id({
/* scroll animation speed in milliseconds: Integer */
scrollSpeed: 1300,
/* auto-adjust animation speed (according to target element position and window scroll): Boolean */
autoScrollSpeed: true,
/* scroll animation easing when page is idle: String */
scrollEasing: "easeInOutExpo",
/* scroll animation easing while page is scrolling: String */
scrollingEasing: "easeInOutCirc",
/* end of page "smooth scrolling" (auto-adjust the scroll-to position when bottom elements are too short): Boolean */
pageEndSmoothScroll: true,
/*
page layout defines scrolling direction: String
values: "vertical", "horizontal", "auto"
*/
layout: "vertical",
/* extra space in pixels for the target element position: Integer */
offset: 0,
/* highlight the main/default selectors or insert a different set: Boolean, String */
highlightSelector: false,
/* class of the clicked element: String */
clickedClass: pluginPfx + "-clicked",
/* class of the current target element: String */
targetClass: pluginPfx + "-target",
/* class of the highlighted element: String */
highlightClass: pluginPfx + "-highlight",
/* force a single highlighted element each time: Boolean */
forceSingleHighlight: false,
/* keep element highlighted until next (one element always stays highlighted): boolean */
keepHighlightUntilNext: true,
/* disable plugin below [x,y] screen size: boolean, integer, array ([x,y]) */
disablePluginBelow: false,
/* enable/disable click events for all selectors */
clickEvents: true,
/* user callback functions: fn */
onStart: function () {
},
onComplete: function () {
},
/* enable/disable the default selector: Boolean */
defaultSelector: false
});
});
})(jQuery);
$(document).scroll(function () {
var y = $(this).scrollTop();
if (y > $(window).height()) {
// $('.menu-title').addClass('show fadein');
// $('.home-section').addClass('opacity fadein');
$('.header').addClass('fixed fadein');
} else {
// $('.menu-title').removeClass('show fadein');
// $('.home-section').removeClass('opacity fadein');
$('.header').removeClass('fixed fadein');
}
});
$(document).scroll(function () {
var y = $(this).scrollTop();
if (y > 250) {
$('#Container2').addClass('coloradded fadeout');
} else {
$('#Container2').removeClass('coloradded fadeout');
}
});
$(document).scroll(function () {
var y = $(this).scrollTop();
if (y > 80) {
$('.menu-title').addClass('show fadein');
$('.home-section').addClass('opacity fadein');
$('.video_section').addClass('dark fadein');
} else {
$('.menu-title').removeClass('show fadein');
$('.home-section').removeClass('opacity fadein');
$('.video_section').removeClass('dark fadein');
}
});
$(document).ready(function () {
$('#Container').stickies();
});
</script>
<script>
var topRange = 190, // measure from the top of the viewport to X pixels down
edgeMargin = 20, // margin above the top or margin from the end of the page
animationTime = 1200, // time in milliseconds
contentTop = [];
$(document).ready(function () {
// Stop animated scroll if the user does something
$('html,body').bind('scroll mousedown DOMMouseScroll mousewheel keyup', function (e) {
if (e.which > 0 || e.type == 'mousedown' || e.type == 'mousewheel') {
$('html,body').stop();
}
})
// Set up content an array of locations
$('#sidemenu').find('a').each(function () {
contentTop.push($($(this).attr('href')).offset().top);
})
// Animate menu scroll to content
$('#sidemenu').find('a').click(function () {
var sel = this,
newTop = Math.min(contentTop[$('#sidemenu a').index($(this))], $(document).height() - $(window).height()); // get content top or top position if at the document bottom
$('html,body').stop().animate({'scrollTop': newTop}, animationTime, function () {
window.location.hash = $(sel).attr('href');
});
return false;
})
// adjust side menu
$(window).scroll(function () {
var winTop = $(window).scrollTop(),
bodyHt = $(document).height(),
vpHt = $(window).height() + edgeMargin; // viewport height + margin
$.each(contentTop, function (i, loc) {
if (( loc > winTop - edgeMargin && ( loc < winTop + topRange || ( winTop + vpHt ) >= bodyHt ) )) {
$('#top-menu li')
.removeClass('active')
.eq(i).addClass('active');
}
})
})
})
</script>
<body>
<!-- THIS IS THE VIDEO SECTION. This includes the video playing in the background, the pre-order button, and the title text. -->
<a id="link"></a>
<!-- <div id="Container2"></div> -->
<div id="Container">
<video class="display animate" autoplay="autoplay" id="vid" loop="true" muted="muted">
<source src="gif/OnyxMagic_-_HD_720p.mp4" type="video/mp4">
<source src="gif/OnyxMagic_-_HD_720p.ogv" type="video/ogg">
<source src="gif/OnyxMagic_-_HD_720p.webm" type="video/webm">
</video>
<a id="link"></a>
<section id="video-area" class="background-video should-play">
<div class="main">
<div class="home-section fadein">
<div class="fullscreen-main-padding extra-extra-padding customhome background" style="background: transparent;
padding-top: 2%;
padding-bottom: 0;">
<div class="container">
</div>
</div>
</div>
</div>
</section>
<div></div>
</div>
<a href="https://www.indiegogo.com/projects/swish-the-basketball-coach-for-smartwatches/" id="order-now">Pre-order on
IndieGogo</a>
<a href="#welcome">
<div class="main2 mobilehidden">
<div class="main2img video_section animate">
<img src="xyz.png"/></div>
</div>
</a>
<div class="fullscreen-main-padding extra-extra-padding spacing-hidden mobile-block background"
style="background-image:url('mobile.png'); padding-top:0; padding-bottom:0;margin-top:0;height:100%;">
<a href="#welcome">
<div class="main2">
<div class="main2img"><img src="2xyz.png"/></div>
</div>
</a>
</div>
</div>
<!-- THIS IS THE HEADER -->
<div class="content-wrap">
<div class="relative">
<div class="header animate">
<div class="container nombile-left">
<div class="menu-title animated">
<div class="logo-header"><img src="logo.png"></div>
</div>
<!--Hamburger Icon Start-->
<style>
.menu-btn {
display: none;
}
@media screen and (max-width: 1100px) {
.menu-btn {
display: block;
}
.responsive-menu {
display: none;
}
.expand {
display: block !important;
}
.c-hamburger {
display: block;
position: relative;
overflow: hidden;
margin: 0;
padding: 0;
width: 48px;
height: 48px;
font-size: 0;
text-indent: -9999px;
appearance: none;
box-shadow: none;
border-radius: none;
border: none;
cursor: pointer;
transition: background 0.3s;
}
.c-hamburger:focus {
outline: none;
}
.c-hamburger span {
display: block;
position: absolute;
top: 22px;
left: 9px;
right: 9px;
height: 5px;
background: white;
}
.c-hamburger span::before,
.c-hamburger span::after {
position: absolute;
display: block;
left: 0;
width: 100%;
height: 4px;
background-color: #fff;
content: "";
}
.c-hamburger span::before {
top: -10px;
}
.c-hamburger span::after {
bottom: -10px;
}
.c-hamburger--htx {
background-color: #32dc64;
}
.c-hamburger--htx span {
transition: background 0s 0.3s;
}
.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
transition-duration: 0.3s, 0.3s;
transition-delay: 0.3s, 0s;
}
.c-hamburger--htx span::before {
transition-property: top, transform;
}
.c-hamburger--htx span::after {
transition-property: bottom, transform;
}
/* active state, i.e. menu open */
.c-hamburger--htx.is-active {
background-color: #32dc64;
}
.c-hamburger--htx.is-active span {
background: none;
}
.c-hamburger--htx.is-active span::before {
top: 0;
transform: rotate(45deg);
}
.c-hamburger--htx.is-active span::after {
bottom: 0;
transform: rotate(-45deg);
}
.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
transition-delay: 0s, 0.3s;
}
#menu-btn {
float: right;
margin: 7.5px 25px 7.5px 0px;
}
}
</style>
<button id="menu-btn" class="menu-btn c-hamburger c-hamburger--htx">
<span>toggle menu</span>
</button>
<!--Hamburger Icon End-->
<style>
@media screen and (max-width: 1100px) {
.nav-menu {
width: 100%;
}
.nav {
width: 100%;
background-color: #141414;
}
.nav li {
display: block;
float: left;
clear: left;
width: 100%;
background-color: #141414;
}
}
</style>
<ul id="nav-menu" class="nav responsive-menu">
<li class="active line"><a href="#link">HOME</a> <span class="divider"></span></li>
<li class="line"><a href="#aboutlink">ABOUT</a> <span class="divider"></span></li>
<li class="line"><a href="#motion">MOTION MARKETPLACE</a> <span class="divider"></span></li>
<li class="line"><a href="#features">FEATURES</a> <span class="divider"></span></li>
<li class="line"><a href="#press">PRESS</a> <span class="divider"></span></li>
<li class="line"><a href="#contact">CONTACT US</a> <span class="divider"></span></li>
<li class="line"><a href="http://blog.onyxmotion.com/">BLOG</a> <span class="divider"></span></li>
</ul>
</div>
</div>
</div>
<!-- Relative ends -->
<!-- THIS IS WHERE THE CONTENT BEGINS -->
<div class="content-inside">
<!-- THIS IS THE FIRST SECTION WITH THE WATCH -->
<section id="aboutlink">
<div class="empty"><a id="welcome"></a></div>
<div class="fullscreen-main background" style="background:#19bc62;padding:0;');">
<div class="container">
<div class="call-to-action" style="padding:0;">
<div class="left-area-side">
<div class="wrap-box"><h1 class="title">This is the future of coaching.</h1></div>
<h2 class="smaller">Swish uses data to adapt.</h2>
<div class="spacing-call"></div>
<div class="subtitle">Onyx Motion is building digital coaches to help you play like a pro.
The app uses Android Wear and Apple Watch smartwatches to show you how you play and how
to improve at the moment you need it most. It customizes the coaching style using past
performance and machine learning to adapt to your needs. It's ready to play when you
are.
</div>
<div class="clear"></div>
<div class="left-side">
<a href="https://www.indiegogo.com/projects/swish-the-basketball-coach-for-smartwatches/"
id="order-now">Pre-order on IndieGogo</a></div>
</div>
<div class="right-area-side"><img src="big_watch.png"/>
</div>
</div>
</div>
</div>
</section>
<!-- THE IS THE SECOND SECTION THAT HIGHLIGHTS THE MOTION MARKETPLACEE -->
<section id="motion">
<div class="fullscreen-main background" style="background:#141414;padding:0;');">
<div class="container">
<div class="call-to-action" style="padding-bottom: 80px;">
<h1 class="title-center">Meet your new best friend</h1>
<h2 class="subtitle-center">Where better to get the secret to winning?</h2>
<div class="card2">
<img src="card.png"/></div>
<p class="small-text2">Coaching modules by a selection of NBA players are available through the
Motion Marketplace.
</br></br>
Using data, videos, tips and tricks, we bring your hero to your court for 0.99 cents.</p>
<div class="clear"></div>
</div>
</div>
</div>
</section>
<!-- THIS IS THE SECTION WITH THE PHONE -->
<section id="features">
<div class="fullscreen-main background"
style="background:#e35a1c;border-bottom:2px solid #fff; padding:0;');">
<div class="container modified">
<div class="call-to-action" style="padding:0;">
<div class="left-area-side">
<div class="wrap-box"><h1 class="title">Think Ahead</h1></div>
<h2 class="smaller">Play with a plan</h2>
<div class="spacing-call"></div>
<div class="subtitle">You need long term insight to drive real results. Swish combines data
from metrics considered
important to top coaches and players and creates custom tips, how-to’s and inspiration
for you.
</div>
</div>
<div class="right-area-side-wide image"><img src="phone.png"/>
</div>
</div>
</div>
</div>
</section>
<!--THIS IS THE APPLICATIONS FOR SWISH SECTION -->
<section id="Applications-for-Swish">
<div class="row" style="background:#000000; padding-top:100px"></div>
<div class="fullscreen-main background" style="background:#000000;boarder-bottom:2px solid #fff;padding:0">
<div class="title-center" style="font-size:3em; padding-bottom:30px">What can I do with Swish?</div>
<a href="https://vine.co/u/1218012899621408768">
<div class="row">
<div class="col-md-4">
<div class="row">
<div class= "play_on_hover">
<video class="col-md-12" id="vid" loop="true" muted="muted">
<source src="gif/Application1-BeerPong.mp4" type="video/mp4">
</video>
</div>
<div class="col-md-12 smaller" style="color:#ffffff; text-align:center">Beer Pong</br>
<span style="font-size:12px; color:#7f7f7f">(Hover to play video)</span>
</div>
</div>
</div>
<div class="col-md-4">
<div class="row">
<div class= "play_on_hover">
<video class="col-md-12" id="vid" loop="true" muted="muted">
<source src="gif/Application2-Tennis.mp4" type="video/mp4">
</video>
</div>
<div class="col-md-12 smaller" style="color:#ffffff; text-align:center">Tennis</br>
<span style="font-size:12px; color:#7f7f7f">(Hover to play video)</span>
</div>
</div>
</div>
<div class="col-md-4">
<div class="row">
<div class= "play_on_hover">
<video class="col-md-12" id="vid" loop="true" muted="muted">
<source src="gif/Application3-Golf.mp4" type="video/mp4">
</video>
</div>
<div class="col-md-12 smaller" style="color:#ffffff; text-align:center">Golf</br>
<span style="font-size:12px; color:#7f7f7f">(Hover to play video)</span>
</div>
</div>
</div>
</div>
</a>
<div class="row" style="padding-bottom:100px"></div> <!-- to make a space, another column has been defined here -->
</div>
</section>
<!-- THIS IS THE PRESS SECTION -->
<section id="scrollmail" class="email-signup">
<div class="iframe">
<iframe scrolling="no"
seamless="seamles" class="foo"
src="http://onyxmotion.damidina.webfactional.com/form2.htm"></iframe>
</div>
</section>
<section id="press" class="full-width extra-padding left-right">
<div class="font-title">Featured in:</div>
<div class="box-thirty">
<div class="circle-area-press"><img src="img/globe.png"/></div>
<div class="title-area-press">The Globe & Mail</div>
<div class="subtitle-area-press">Why Toronto is a hotbed of pioneering wearable technology</div>
<div class="button-div2">
<a href="http://www.theglobeandmail.com/technology/why-toronto-is-a-hotbed-of-pioneering-wearable-technology/article22447906/"
target="blank" class="action-btn acolor2">Read Article</a>
</div>
</div>
<div class="box-thirty">
<div class="circle-area-press"><img src="img/beta.png"/></div>
<div class="title-area-press">BetaKit</div>
<div class="subtitle-area-press">Onyx Motion entering the Next Gen Den</div>
<div class="button-div2">
<a href="http://betakit.com/onyx-motion-hwki-some-of-the-early-stage-startups-entering-the-next-gen-den/"
target="_blank" class="action-btn acolor2">Read Article</a>
</div>
</div>
<div class="box-thirty">
<div class="circle-area-press"><img src="img/tv.png"/></div>
<div class="title-area-press">TechVibes</div>
<div class="subtitle-area-press">Onyx Motion Aims to Help Athletes Improve at Their Sports</div>
<div class="button-div2">
<a href="http://www.techvibes.com/blog/onyx-motion-2015-01-07" target="_blank"
class="action-btn acolor2">Read Article</a>
</div>
</div>
<div class="box-thirty">
<div class="circle-area-press"><img src="img/ut.png"/></div>
<div class="title-area-press">University of Toronto News</div>
<div class="subtitle-area-press">Tech wearables holiday gift roundup: U of T startups take on smart
watches, biometrics and more
</div>
<div class="button-div2">
<a href="http://news.utoronto.ca/tech-wearables-holiday-gift-roundup-u-t-startups-take-smart-watches-biometrics-and-more"
target="_blank" class="action-btn acolor2">Read Article</a>
</div>
</div>
</section>
<!-- THIS IS THE DRAGON'S DEN SECTION -->
<section class="dragon padding-div no-left-padding">
<div class="section-left height">
<img src="img/IMG_2581.PNG"/>
</div>
<div class="section-left height extra-extra">
<div class="text-abs">
Watch Onyx Motion on Dragons' Den
</div>
<div class="subtitle-left">We were recently featured on CBC’s NextGenDen and became the first company to
make a successful deal. Watch us improve the Dragons' free throws!
</div>
<div style="clear:both"></div>
<div class="button-div">
<a href="http://www.cbc.ca/dragonsden/nextgenden/season1/next-gen-den-1" target="_blank"
class="action-btn acolor">WATCH VIDEO</a>
</div>
</div>
</section>
<!-- THIS IS THE CONTACT FORM SECTION -->
<div id="contact"></div>
<section id="contact">
<div class="contact-area">
<div class="container">
<a id="contactnow"></a>
<div class="title-content space-title white">LET'S CONNECT!</div>
<div class="iframe">
<iframe class="bigger" scrolling="no"
seamless="seamles" class="foo"
src="http://onyxmotion.damidina.webfactional.com/form1.htm"></iframe>
</div>
<div class="logo-footer-main"><img src="img/1logo-white.png"/></div>
<div class="row social-row">
<div class="social"><a href="https://www.facebook.com/onyxmotion" target="_blank"><img
src="img/1421301557_06-facebook-128.png"/></a><a
href="https://twitter.com/onyxmotionnews" target="_blank"><img
src="img/1421301628_03-twitter-128.png"/></a><a href="http://instagram.com/onyxmotion"
target="_blank"><img
src="img/1421301634_38-instagram-128.png"/></a></div>
</div>
<div class="row">
<ul class="list-inline text-center">
<li><a href="privacy/index.html" style="color: #fff;" target="_blank">PRIVACY</a></li>
<li><a href="terms/index.html" style="color: #fff;" target="_blank">TERMS OF SERVICE</a>
</li>
<li><a style="color: #fff;" target="_blank">© ONYX MOTION 2015</a></li>
</ul>
</div>
</div>
</div>
</section>
</div>
</div>
</div><!-- Content Wrap ends -->
<script>
$('.collapse').on('shown.bs.collapse', function () {
$(this).parent().find(".glyphicon-arrow-right").removeClass("glyphicon-arrow-right").addClass("glyphicon-remove");
}).on('hidden.bs.collapse', function () {
$(this).parent().find(".glyphicon-remove").removeClass("glyphicon-remove").addClass("glyphicon-arrow-right");
});
$(document).ready(function () {
$(".nav-button").click(function () {
$(".nav-button,.nav").toggleClass("open");
});
});
$('a[href^="#learnmore"]').on('click', function (event) {
var target = $($(this).attr('href'));
if (target.length) {
event.preventDefault();
$('html, body').animate({
scrollTop: target.offset().top - 131.341
}, 1000);
}
});
$('a[href^="#contactnow"]').on('click', function (event) {
var target = $($(this).attr('href'));
if (target.length) {
event.preventDefault();
$('html, body').animate({
scrollTop: target.offset().top - 131.341
}, 1000);
}
});
$('a[href^="#welcome"]').on('click', function (event) {
var target = $($(this).attr('href'));
if (target.length) {
event.preventDefault();
$('html, body').animate({
scrollTop: target.offset().top
}, 1000);
}
});
//script to play on hover
$(document).ready(function () {
$(".play_on_hover").hover(function () {
$(this).children("video")[0].play();
}, function () {
var el = $(this).children("video")[0];
el.pause();
el.currentTime = 0;
});
});
</script>
<script type="text/javascript" src="js/bootstrap-collapse.js"></script>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-59338616-1', 'auto');
ga('send', 'pageview');
// For the Hamburger menu.
// To animate the hamburger menu icon
(function () {
"use strict";
var toggles = document.querySelectorAll(".c-hamburger");
for (var i = toggles.length - 1; i >= 0; i--) {
var toggle = toggles[i];
toggleHandler(toggle);
}
;
function toggleHandler(toggle) {
toggle.addEventListener("click", function (e) {
e.preventDefault();
(this.classList.contains("is-active") === true) ? this.classList.remove("is-active") : this.classList.add("is-active");
});
}
})();
(function () {
$('.menu-btn').click(function () {
$('.responsive-menu').toggleClass('expand');
$('.menu-btn').addClass('btn-none')
})
})
(function ($) {
$('.menu-btn').click(function () {
$('.responsive-menu').toggleClass('expand')
})
})
// Only run when the window is in mobile form
$(document).on("click", ".responsive-menu", function () {
if ($('.responsive-menu').hasClass('expand')) {
$('.menu-btn').trigger('click');
$('.responsive-menu').removeClass('expand')
}
});
// End of script to animate icon
</script>
</body>
</html>