-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·64 lines (61 loc) · 2.32 KB
/
Copy pathindex.html
File metadata and controls
executable file
·64 lines (61 loc) · 2.32 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8">
<title>Criterion Template</title>
<link href="css/main.css" rel="stylesheet">
</head>
<body>
<div class="logo"><a href="#"><img src="images/criterion-logo.png" height="75px" width="75px"/></a></div>
<div class="span1">
<!--Sidebar content-->
<div class="well">
<p class="rotate criterion">
AARON S BAKER
</p>
</div>
</div>
<div class="span1">
<!--Sidebar content-->
<div class="well2" id="well2">
<a class="dead" href="#">PROJECTS</a></br>
<a class="dead" href="#">EXPERIENCE</a></br>
<a class="dead" href="#">LINKS</a></br>
<a class="dead" href="#">CONTACT</a></br>
</div>
</div>
<div id="main-body">
</div>
<video id="video_background" preload="auto" autoplay="true" loop="loop" muted="" volume="0">
<!-- MP4 must be first for iPad! -->
<source src="videos/times_square.mp4" type="video/mp4" /><!-- WebKit video -->
<source src="videos/times_square.ogv" type="video/ogg" /><!-- Firefox / Opera -->
<!-- fallback to Flash: -->
<object type="application/x-shockwave-flash" data="videos/times_square.swf">
<!-- Firefox uses the `data` attribute above, IE/Safari uses the param below -->
<param name="movie" value="videos/times_square.swf" />
<param name="flashvars" value="image=no_video.jpg&file=videos/times_square.mp4" />
<!-- fallback image. note the title field below, put the title of the video there -->
<img src="images/no_video.jpg" alt="Background Video" title="times_square" />
</object>
</video>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(".dead").click(function () {
event.preventDefault();
$("a").attr('class', "dead");
$(this).attr('class', "alive");
var section = $(this).text().toLowerCase();
$('#main-body').hide('normal', function() {
$('#main-body').load('content.html ' + "#" + section);
});
$('#main-body').show('normal');
});
$(".logo").click(function () {
event.preventDefault();
$('#main-body').hide('normal');
$("a").attr('class', "dead");
});
</script>
</body>
</html>