-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
287 lines (241 loc) · 7.34 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
<!DOCTYPE HTML>
<!--
Miniport by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Doday</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<!--<meta name="description" content="" /> -->
<meta name="keywords" content="" />
<!--[if lte IE 8]><script src="css/ie/html5shiv.js"></script><![endif]-->
<script src="js/jquery.min.js"></script>
<script src="js/jquery.scrolly.min.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/init.js"></script>
<script src="js/jquery.simplemodal-1.4.4.js"></script>
<link rel="stylesheet" href="css/skel.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/style-desktop.css" />
<link type='text/css' href='css/basic.css' rel='stylesheet' media='screen' />
<!--[if lte IE 8]><link rel="stylesheet" href="css/ie/v8.css" /><![endif]-->
<!--[if lte IE 9]><link rel="stylesheet" href="css/ie/v9.css" /><![endif]-->
<style>
#map_canvas {
width: 500px;
height: 400px;
}
#run_modal {
display:none;
}
#bike_modal {
display:none;
}
#lift_modal {
display:none;
}
#rand_modal {
display:none;
}
</style>
<script src="https://maps.googleapis.com/maps/api/js"></script>
<script>
function initialize() {
var mapCanvas = document.getElementById('map_canvas');
var mapOptions = {
center: new google.maps.LatLng(44.5403, -78.5463),
zoom: 8,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
var map = new google.maps.Map(mapCanvas, mapOptions)
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
<style>
.hidden{
display:none;
}
.unhidden{
display:block;
}
</style>
<script type="text/javascript">
function unhide(divID, otherDivId, thirdID) {
var item = document.getElementById(divID);
if (item) {
item.className=(item.className=='hidden')?'unhidden':'hidden';
}
document.getElementById(otherDivId).className = 'hidden';
document.getElementById(thirdID).className = 'hidden';
}
</script>
<script>
$(function() {
var LegArmAr= [];
LegArmAr[0] = "Squat";
LegArmAr[1] = "Leg Press";
LegArmAr[2] = "Deadlift";
LegArmAr[3] = "Crunches";
LegArmAr[4] = "Hip Abdductors";
LegArmAr[5] = "Back Extension";
LegArmAr[6] = "Lunges";
LegArmAr[7] = "Chest Fly";
LegArmAr[8] = "Push Ups";
LegArmAr[9] = "Biceps Curls";
LegArmAr[10] = "Upright Rows";
LegArmAr[11] = "Pull Ups";
LegArmAr[12] = "Bench Press";
var rand = "";
var rand = LegArmAr[Math.floor(Math.random() * LegArmAr.length)];
//We add vPool HTML content to #myDIV
$('#rand_modal').html(rand);
});
</script>
</head>
<body>
<!-- Nav -->
<nav id="nav">
<ul class="container">
<li><a href="#top"></a></li>
</ul>
</nav>
<!-- Home -->
<div class="wrapper style1 first">
<article class="container" id="top">
<div class="row">
<div class="8u">
<header>
<h1>What do you want to do <strong>today</strong>?</h1>
</header>
</div>
</div>
</article>
</div>
<!-- Options -->
<div class="wrapper style3">
<article id="options">
<header>
<h2>Here are options that you can choose from:</h2>
</header>
<div class="container">
<div class="row">
<div class="4u">
<section class="box style1">
<span class="icon featured fa-heart"></span>
<!--<h3><a href="javascript:unhide('running','bike', 'lift')"> Running </a></h3>-->
<!--<h3><a href='#basic-modal-content' class='basic'>Running</a></h3>-->
<div id='running'>
<h3><a href='#' class='run_button'>Running</a></h3>
</div>
</section>
</div>
<div class="4u">
<section class="box style1">
<span class="icon featured fa-bicycle"></span>
<!--<h3><a href = "#">Bicycle</a></h3>-->
<div id='biking'>
<h3><a href='#' class='bike_button'>Bicycle</a></h3>
</div>
</section>
</div>
<div class="4u">
<section class="box style1">
<span class="icon featured fa-child"></span>
<!--<h3><a href = "#">Legs/Arms</a></h3>-->
<div id='lifting'>
<h3><a href='#' class='lift_button'>Arms & Legs</a></h3>
</div>
</section>
</div>
</div>
</br>
<!--hidden stuff
<div id="running" class="hidden">
<p>Running.</p>
</div>
-->
</br>
<h3>Can't decide?</br></h3>
<div id='randoming'>
<input type='button' name='basic' value='Randomly Generate Something For Me To Do' class='rand_button'/>
</div>
<!-- <a href="#randomlydo" class="button small scrolly">Randomly Generate Something For Me To Do</a> -->
</div>
</br>
</div>
<footer>
<ul id="copyright">
<center>
<p>© GOONSQUAD. All rights reserved.</p>
<p>Designed by: Helen Chac, Donna Chow, Carl Pang, James Tam & Nathan Truong</p>
</center>
</ul>
</footer>
</article>
</div>
</div>
<div id='content'>
<!--
<div id='basic-modal'>
<h3>Basic Modal Dialog</h3>
<p>A basic modal dialog with minimal styling and no additional options. There are a few CSS properties set internally by SimpleModal, however, SimpleModal relies mostly on style options and/or external CSS for the look and feel.</p>
<input type='button' name='basic' value='Demo' class='basic'/> or <a href='#' class='basic'>Demo</a>
</div>
-->
<!-- modal content -->
<div id="run_modal">
<p>It's a nice day to go running!</p>
<p>Why don't you go running at the arboretum? </p>
<!--
<h3>Basic Modal Dialog</h3>
<p>For this demo, SimpleModal is using this "hidden" data for its content. You can also populate the modal dialog with an AJAX response, standard HTML or DOM element(s).</p>
<p>Examples:</p>
<p><code>$('#basicModalContent').modal(); // jQuery object - this demo</code></p>
<p><code>$.modal(document.getElementById('basicModalContent')); // DOM</code></p>
<p><code>$.modal('<p><b>HTML</b> elements</p>'); // HTML</code></p>
<p><code>$('<div></div>').load('page.html').modal(); // AJAX</code></p>
<p><a href='http://www.ericmmartin.com/projects/simplemodal/'>More details...</a></p>
-->
</div>
<div id="bike_modal">
<p>Wanna go biking? You should go here:</p>
<img src="images/bike.jpg" style="width:75%;height:75%" />
</div>
<div id="lift_modal">
<p>Try lifting weights, yo</p>
</div>
<div id="rand_modal">
<script type="text/javascript">function();</script>
</div>
<!-- preload the images -->
<div style='display:none'>
<img src='img/basic/x.png' alt='' />
</div>
</div>
<script>
jQuery(function ($) {
// Load dialog on page load
//$('#basic-modal-content').modal();
// Load dialog on click
$('.run_button').click(function (e) {
$('#run_modal').modal();
return false;
});
$('.bike_button').click(function (e) {
$('#bike_modal').modal();
return false;
});
$('.lift_button').click(function (e) {
$('#lift_modal').modal();
return false;
});
$('.rand_button').click(function (e) {
$('#rand_modal').modal();
return false;
});
});
</script>
</body>
</html>