-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlexus.html
102 lines (90 loc) · 3.74 KB
/
lexus.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
<!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">
<title>Lexus | TLC</title>
<!-- Styles -->
<link rel="stylesheet" href="stylesheets/web.css">
<!-- Fonts -->
<!-- Fontawesome Icon fotns -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="font/font-awesome.min.css">
<link rel="icon" type="image/png" href="/img/TLC_fav.png"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.1.2/fullpage.min.css" integrity="sha512-4rPgyv5iG0PZw8E+oRdfN/Gq+yilzt9rQ8Yci2jJ15rAyBmF0HBE4wFjBkoB72cxBeg63uobaj1UcNt/scV93w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://kit.fontawesome.com/af692b5953.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.1.2/fullpage.min.js" integrity="sha512-gSf3NCgs6wWEdztl1e6vUqtRP884ONnCNzCpomdoQ0xXsk06lrxJsR7jX5yM/qAGkPGsps+4bLV5IEjhOZX+gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<!-- Js -->
<script src="js/modernizr.js"></script>
<script>
var nav = false;
function openTitle(){
document.getElementById('title').classList.toggle("show");
document.getElementById('body').classList.add("adaptiveLexus");
nav = true;
}
function closeTitle(){
document.getElementById('title').classList.toggle("show");
document.getElementById('body').classList.remove("adaptiveLexus");
nav = false;
}
function toggleTitle(){
nav ? closeTitle() : openTitle();
}
</script>
</head>
<body id="body">
<div class="header stuck" id="header">
<div class="headerTop">
<div class="col h1 bold fadeIn"><a href="/" class="home">Taylor Cottrell </a><span class="light fade show" id="title">is an urban stunt driver.</span></div>
<div class="col h1 fadeIn switch right"><input type="checkbox" id="toggleAll" onclick="toggleTitle()"/><label for="toggleAll"></label></div>
</div></div>
<div id ="fullPage" class="fullPage fadeIn">
<div class= "section s1">
<div class="caseText megaType">
<span class="lexusHead">New York City from a Lexus.</span><br>
<span class="light lexusSubhead">
Art direction, stunt-driving and post-production for the progressive luxury car brand's showroom content piece.</span>
</div>
<div class="caseInfo">
<span class="h4 light gray">Lexus Intersect / Factory360 / Hugo Burton, Taylor Cottrell</span>
</div>
</div>
<div class= "section s2">
<img src="../img/LEXUS_Stills.gif" class="workImageMed fullImage"></img>
<img src="../img/LEXUS_Stills_mobile.gif" class="workImageMed mobileImage"></img>
</div>
<div class= "section s2">
<video muted autoplay controls>
<source src="../img/LEXUS_reel.mp4" type="video/mp4">
<source src="../img/LEXUS_reel.ogg" type="video/ogg">
</video>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.1.2/fullpage.min.js"></script>
<script>
new fullpage('#fullpage', {
licenseKey: '5CC976AE-2BA44BD9-AD76D191-06F35AD6'
})
new fullpage('#fullPage', {
autoScrolling: false,
scrollingSpeed: 4000,
dragAndMove: true,
fadingEffect: true,
navigation: true,
lazyLoading: true,
loopBottom: true,
scrollOverflow:true,
scrollBar: false,
scrollHorizontally: true
});
//methods
fullpage_api.setAllowScrolling(true);
</script>
</body>
<header>
</header><!-- End Header -->
<!-- jQuery-->
<script src="https://code.jquery.com/jquery-3.2.1.js"></script>
</body>
</html>