-
Notifications
You must be signed in to change notification settings - Fork 0
/
work.html
320 lines (286 loc) · 12.2 KB
/
work.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>About</title>
<meta name="description" content="">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/flexslider.css">
<script src="js/jquery-2.1.4.min.js"></script>
<script src="js/transit.js"></script>
<script src="js/modernizr.js"></script>
<link href='https://fonts.googleapis.com/css?family=Inconsolata|Montserrat|Roboto:400,300,500' rel='stylesheet' type='text/css'>
</head>
<body>
<header class="site-header">
<div class="wrapper">
<span class="site-title">
<ul>
<li><a href='index.html' >home</a></li>
<li><a href="index.html"><img src="img/logo.png" /></a></li>
<li><a href='about.html' >about</a></li>
</ul>
</span>
</div>
</header>
<div class="page-content">
<div class="post">
<article class="post-content">
<div id="unseenunknown">
<a class="navigation-hack page-link" href="index.html">< back</a>
<div class="hero-section">
<div class="wrapper">
<div class="beginning">
<h1 style="float: left">Work</h1>
<p style="float: right">Year</p>
<div style="clear: both;"></div>
</div>
<hr />
<div class="text">
<div class="left-column column">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ultrices enim metus, eu dignissim eros sodales a. Ut quam metus, mollis ac hendrerit in, rhoncus id enim. Suspendisse auctor consectetur risus, at accumsan purus tempor in. Vestibulum sagittis, massa laoreet consectetur rhoncus, felis libero porta diam, eu condimentum mauris felis sit amet nisl. Donec malesuada eget massa sed pharetra. Sed ornare auctor porta. Pellentesque commodo urna non accumsan feugiat. Fusce molestie ipsum in ex sollicitudin, vel dapibus mi imperdiet. Mauris quis varius quam.</p>
</div>
<div class="right-column column">
<p>Proin tincidunt id nibh vel fringilla. Fusce euismod magna eget facilisis congue. Quisque at dignissim neque. Sed vehicula et tortor id consequat. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aenean feugiat massa ut est vulputate tincidunt. Ut faucibus mi leo, id rhoncus sapien finibus ac. Donec efficitur tempus lacus ornare rutrum. Nunc maximus elit eget nunc congue consectetur. Vestibulum sit amet ullamcorper mauris. Maecenas mattis, sem nec gravida feugiat, ante nunc consequat mauris, vel lobortis tellus justo ac nisi.</p>
</div>
<div style="clear: both;"></div>
</div>
<div class="videoWrapper">
<iframe src="https://www.youtube.com/embed/GbMqkys2r0M" width="1920" height="400" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>
</div>
</div>
</div>
<div class="main-content">
<div class="wrapper">
<section>
<div class="text">
<h4>The Concept</h4>
<div class="left-column column">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ultrices enim metus, eu dignissim eros sodales a. Ut quam metus, mollis ac hendrerit in, rhoncus id enim. Suspendisse auctor consectetur risus, at accumsan purus tempor in. Vestibulum sagittis, massa laoreet consectetur rhoncus, felis libero porta diam, eu condimentum mauris felis sit amet nisl. Donec malesuada eget massa sed pharetra. Sed ornare auctor porta. Pellentesque commodo urna non accumsan feugiat. Fusce molestie ipsum in ex sollicitudin, vel dapibus mi imperdiet. Mauris quis varius quam. </p>
</div>
<div class="right-column column">
<p>Proin tincidunt id nibh vel fringilla. Fusce euismod magna eget facilisis congue. Quisque at dignissim neque. Sed vehicula et tortor id consequat. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aenean feugiat massa ut est vulputate tincidunt. Ut faucibus mi leo, id rhoncus sapien finibus ac. Donec efficitur tempus lacus ornare rutrum. Nunc maximus elit eget nunc congue consectetur. Vestibulum sit amet ullamcorper mauris. Maecenas mattis, sem nec gravida feugiat, ante nunc consequat mauris, vel lobortis tellus justo ac nisi.</p>
</div>
<div style="clear: both;"></div>
</div>
<div class="slider">
<div class="flexslider">
<ul class="slides">
<li data-thumb="img/work/work1.jpg">
<img src="img/work/work1.jpg" />
</li>
<li data-thumb="img/work/work2.jpg">
<img src="img/work/work2.jpg" />
</li>
<li data-thumb="img/work/work3.jpg">
<img src="img/work/work3.jpg" />
</li>
<li data-thumb="img/work/work4.jpg">
<img src="img/work/work4.jpg" />
</li>
<li data-thumb="img/work/work5.jpg">
<img src="img/work/work5.jpg" />
</li>
<li data-thumb="img/work/work6.jpg">
<img src="img/work/work6.jpg" />
</li>
<li data-thumb="img/work/work7.jpg">
<img src="img/work/work7.jpg" />
</li>
<li data-thumb="img/work/work8.jpg">
<img src="img/work/work8.jpg" />
</li>
<li data-thumb="img/work/work9.jpg">
<img src="img/work/work9.jpg" />
</li>
<li data-thumb="img/work/work10.jpg">
<img src="img/work/work10.jpg" />
</li>
</ul>
</div>
</div>
</section>
<hr />
<section>
<div class="text">
<h4>The Color</h4>
<div class="left-column column">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ultrices enim metus, eu dignissim eros sodales a. Ut quam metus, mollis ac hendrerit in, rhoncus id enim. Suspendisse auctor consectetur risus, at accumsan purus tempor in. Vestibulum sagittis, massa laoreet consectetur rhoncus, felis libero porta diam, eu condimentum mauris felis sit amet nisl. Donec malesuada eget massa sed pharetra. Sed ornare auctor porta. Pellentesque commodo urna non accumsan feugiat. Fusce molestie ipsum in ex sollicitudin, vel dapibus mi imperdiet. Mauris quis varius quam. </p>
</div>
<div class="right-column column">
<p>Proin tincidunt id nibh vel fringilla. Fusce euismod magna eget facilisis congue. Quisque at dignissim neque. Sed vehicula et tortor id consequat. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aenean feugiat massa ut est vulputate tincidunt. Ut faucibus mi leo, id rhoncus sapien finibus ac. Donec efficitur tempus lacus ornare rutrum. Nunc maximus elit eget nunc congue consectetur. Vestibulum sit amet ullamcorper mauris. Maecenas mattis, sem nec gravida feugiat, ante nunc consequat mauris, vel lobortis tellus justo ac nisi.</p>
</div>
<div style="clear: both;"></div>
</div>
<div class="comparison">
<div class="ba-slider two-photos left-column">
<img src="img/work/work1.jpg" alt="" />
<div class="resize">
<img src="img/work/work1-resize.jpg" alt="" />
</div>
<span class="handle"></span>
</div>
<div class="ba-slider two-photos right-column">
<img src="img/work/work2.jpg" alt="" />
<div class="resize">
<img src="img/work/work2-resize.jpg" alt="" />
</div>
<span class="handle"></span>
</div>
<div class="ba-slider two-photos left-column">
<img src="img/work/work3.jpg" alt="" />
<div class="resize">
<img src="img/work/work3-resize.jpg" alt="" />
</div>
<span class="handle"></span>
</div>
<div class="ba-slider two-photos right-column">
<img src="img/work/work4.jpg" alt="" />
<div class="resize">
<img src="img/work/work4-resize.jpg" alt="" />
</div>
<span class="handle"></span>
</div>
<div style="clear: both;"></div>
</div>
</section>
<hr />
<section>
<div class="text">
<div class="left-column column">
<h4>Credits 1</h4>
<p>
WRITER, DIRECTOR, EDITOR:
<br />
<br />
CINEMATOGRAPHER:
<br />
STEADICAM: Pascal Combes-Knoke
<br />
</p>
</div>
<div class="right-column column">
<h4>Credits 2</h4>
<p>
CAMERA:
<br />
LENSES: <br /><br />
SUPPORT: <br />
</p>
</div>
<div style="clear: both;"></div>
</div>
</section>
</div>
</div>
</div>
</article>
</div>
<div class="PageNavigation">
<div class="next">
<a href="work.html">
<h1>Next One</h1>
<div class="image" style="background-image: url('img/next.jpg')"></div>
</a>
</div>
<div style="clear: both;"></div>
</div>
<script>
// Call & init
$(document).ready(function(){
$('.ba-slider').each(function(){
var cur = $(this);
// Adjust the slider
var width = cur.width()+'px';
cur.find('.resize img').css('width', width);
// Bind dragging events
drags(cur.find('.handle'), cur.find('.resize'), cur);
});
});
// Update sliders on resize.
// Because we all do this: i.imgur.com/YkbaV.gif
$(window).resize(function(){
$('.ba-slider').each(function(){
var cur = $(this);
var width = cur.width()+'px';
cur.find('.resize img').css('width', width);
});
});
function drags(dragElement, resizeElement, container) {
// Initialize the dragging event on mousedown.
dragElement.on('mousedown touchstart', function(e) {
dragElement.addClass('draggable');
resizeElement.addClass('resizable');
// Check if it's a mouse or touch event and pass along the correct value
var startX = (e.pageX) ? e.pageX : e.originalEvent.touches[0].pageX;
// Get the initial position
var dragWidth = dragElement.outerWidth(),
posX = dragElement.offset().left + dragWidth - startX,
containerOffset = container.offset().left,
containerWidth = container.outerWidth();
// Set limits
minLeft = containerOffset + 10;
maxLeft = containerOffset + containerWidth - dragWidth - 10;
// Calculate the dragging distance on mousemove.
dragElement.parents().on("mousemove touchmove", function(e) {
// Check if it's a mouse or touch event and pass along the correct value
var moveX = (e.pageX) ? e.pageX : e.originalEvent.touches[0].pageX;
leftValue = moveX + posX - dragWidth;
// Prevent going off limits
if ( leftValue < minLeft) {
leftValue = minLeft;
} else if (leftValue > maxLeft) {
leftValue = maxLeft;
}
// Translate the handle's left value to masked divs width.
widthValue = (leftValue + dragWidth/2 - containerOffset)*100/containerWidth+'%';
// Set the new values for the slider and the handle.
// Bind mouseup events to stop dragging.
$('.draggable').css('left', widthValue).on('mouseup touchend touchcancel', function () {
$(this).removeClass('draggable');
resizeElement.removeClass('resizable');
});
$('.resizable').css('width', widthValue);
}).on('mouseup touchend touchcancel', function(){
dragElement.removeClass('draggable');
resizeElement.removeClass('resizable');
});
e.preventDefault();
}).on('mouseup touchend touchcancel', function(e){
dragElement.removeClass('draggable');
resizeElement.removeClass('resizable');
});
}
$('.resize iframe').width($('.comparison').width());
$('.resize iframe').height($('.comparison').height());
$( window ).resize(function() {
$('.resize iframe').width($('.comparison').width());
$('.resize iframe').height($('.comparison').height());
});
</script>
<script>
$(window).load(function() {
$('.flexslider').flexslider({
animation: "slide",
smoothHeight: true,
slideshow: false,
controlNav: "thumbnails"
});
});
</script>
</div>
<script src="js/flexslider.js"></script>
<script>
$(window).load(function() {
$('.flexslider').flexslider({
animation: "slide",
smoothHeight: true,
slideshow: false,
controlNav: "thumbnails"
});
});
</script>
</body>
</html>