-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
178 lines (139 loc) · 4.81 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>da Vinchi Inventions</title>
<link rel="stylesheet" href="css/style.css" href="css/normalize.css">
<!-- Add Grid Library -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Add jQuery library -->
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<!-- Add mousewheel plugin (this is optional) -->
<script type="text/javascript" src="fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>
<!-- Add fancyBox -->
<link rel="stylesheet" href="fancybox/source/jquery.fancybox.css?v=2.1.5" type="text/css" media="screen" />
<script type="text/javascript" src="fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
<!-- Optionally add helpers - button, thumbnail and/or media -->
<link rel="stylesheet" href="fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.5" type="text/css" media="screen" />
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script>
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.6"></script>
<link rel="stylesheet" href="fancybox/source/helpers/jquery.fancybox-thumbs.css?v=1.0.7" type="text/css" media="screen" />
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-thumbs.js?v=1.0.7"></script>
</head>
<body>
<div class="nav-wrapper">
<div id="menu-icon">HIDDEN</div>
<nav>
<ul>
<li class="current"><a href="#home">HOME</a></li>
<li><a href="#about">ABOUT</a></li>
<li><a href="#resume">RESUME</a></li>
<li><a href="#projects">PROJECTS</a></li>
</ul>
</nav>
</div>
<div id="sections">
<section id="home">
<div class="photo modernArt" data-stellar-background-ratio="0.8">
<h1>Home</h1>
</div>
</section>
<section id="about">
<div class="photo lady" data-stellar-background-ratio="0.8">
<h1>About</h1>
</div>
</section>
<section id="resume">
<div class="photo eagle" data-stellar-background-ratio="0.8">
<h1>Resume</h1>
</div>
</section>
<section id="projects">
<div class="photo man" data-stellar-background-ratio="0.8">
<h1>Projects</h1>
</div>
</section>
</div>
<div class="fancyB">
<h1>Build things you like</h1>
<a class="fancybox" rel="group" href="img/bike1.jpg"></a>
<a class="fancybox" rel="group" href="img/train1.jpg"></a>
<a class="fancybox" rel="group" href="img/3dmodeling.png"><img src="img/boat1.jpg" alt="" /></a>
</div>
<div class="footer">
<div class="container">
<div class="row">
<div class="col-sm-3">
<h3>About Us</h3>
<p>The Story</p>
<p>Trimble Buildings</p>
</div>
<div class="col-sm-3">
<h3>Programs</h3>
<p>3D Content Developer</p>
<p>K-12 Grants</p>
<p>Visiting Professionals</p>
<p>Project Spectrum</p>
</div>
<div class="col-sm-3">
<h3>Developers</h3>
<p>Developer Center</p>
<p>Extensions</p>
<p>Developer Forum</p>
</div>
<div class="col-sm-3">
<h3>Help</h3>
<p>Help Center</p>
<p>Forum</p>
<p>Contact Us</p>
</div>
</div>
</div>
</div>
<script src="http://code.jquery.com/jquery-migrate-1.4.0.min.js" integrity="sha256-nxdiQ4FdTm28eUNNQIJz5JodTMCF5/l32g5LwfUwZUo=" crossorigin="anonymous"></script>
<script src="js/jquery.nav.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".fancybox").fancybox();
});
</script>
<script type="text/javascript">
$(document).ready(function() {
var menu = $(".nav-wrapper nav");
$(".nav-wrapper ul").onePageNav({
scrollSpeed: 1000
});
$("#menu-icon").click(function ()
{
if ($(this).text() == "HIDDEN") {
menu.show("fast");
$(this).text("SHOWN");
$(".home").css("padding-top", "212px");
} else {
menu.hide("slow");
$(this).text("HIDDEN");
$(".home").css("padding-top", "32px");
}
// alert("smth = " + $("section").css("padding-top"));
});
// Fix bug where menu is still hidden when we make our page bigger
$(window).resize(function() {
var w = $(window).width();
// width is greater than 768 and nav is hidden
if(w > 768 && menu.is(":hidden")) {
menu.removeAttr("style");
}
if(w > 768 && menu.is(":visible")) {
$("section").css("padding-top", "32px")
}
if(w < 768) {
$(".footer").css("height", "550px");
}
if(w > 768) {
$(".footer").css("height", "200px");
}
});
});
</script>
</body>
</html>