-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
421 lines (280 loc) · 10.1 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
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
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.min.css" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/solarized-light.min.css" rel="stylesheet" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery.address/1.6/jquery.address.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.10/semantic.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/java.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<style>
body
{
font-family: "Open Sans", "Helvetica", "Helvetica Neue", "Arial", sans-serif;
}
figcaption
{
margin-bottom: 20px;
}
.vertical-align
{
display: flex;
align-items: center;
}
.ui.segment.pushable
{
margin: 0;
padding: 1rem 0;
overflow: visible;
}
</style>
</head>
<body>
<header class="ui center aligned middle aligned stackable grid segment">
<a class="ui blue left corner label">
<div id="showTOC" class="popup" data-content="Reveal TOC">
<i id="toc" class="sitemap big icon"></i>
</div>
</a>
<div class="ui five wide column">
<h2> Course Title </h2>
</div>
<div class="ui two wide column">
<div class="two wide column sitemap">
<div class="popup" data-content="To the top level Topics for this Module...">
<a href="index.html"> <i class="huge home icon"></i> <br> Module Home </a>
</div>
</div>
</div>
<div class="ui five wide column">
<div class="four wide column">
<div class="ui center aligned mini message segment">
2017/18 Teaching Team: Rosanne Birney and Mary Lyng.
<a href="http://creativecommons.org/licenses/by-nc/4.0/"
title="External link to http://creativecommons.org/licenses/by-nc/4.0/"
target="_blank">Creative Commons License
</a>
</div>
</div>
</div>
<div class="three wide column">
<div class="ui equal width center aligned grid segment">
<div class="column">
<div class="popup" data-content="All talk's in Course">
<a href="talkwall.html"> <i class="big object group icon"></i> </a>
<div class="ui blue mini circular label">
3
</div>
</div>
</div>
<div class="column">
<div class="popup" data-content="All lab's in Course">
<a href="labwall.html"> <i class="big lab icon"></i> </a>
<div class="ui blue mini circular label">
17
</div>
</div>
</div>
</div>
</div>
</header>
<div class="ui segment pushable">
<div class="ui inverted inline vertical sidebar menu">
<div class="header">
<a class="item" href="topic-01-Module-Introduction/index.html">
Module Introduction
</a>
</div>
<div class="menu">
<div class="menu">
<a class="item" href="topic-01-Module-Introduction/talk-1/talk-1.pdf">
Lecture</a>
</div>
<div class="menu">
<a class="item" href="topic-01-Module-Introduction/book-00-Layout Recap/index.html">
Layout Recap</a>
</div>
<div class="menu">
<a class="item" href="topic-01-Module-Introduction/book-01-Add some Behaviour/index.html">
Add some Behaviour</a>
</div>
<div class="menu">
<a class="item" href="topic-01-Module-Introduction/book-02-Exercise/index.html">
Recap Exercise</a>
</div>
</div>
<div class="header">
<a class="item" href="topic-02-JavaScript-1/index.html">
JavaScript Part One
</a>
</div>
<div class="menu">
<div class="menu">
<a class="item" href="topic-02-JavaScript-1/talk-1/talk-1.pdf">
Lecture</a>
</div>
<div class="menu">
<a class="item" href="topic-02-JavaScript-1/book-00-JavaScript-Introduction/index.html">
JavaScript Introduction</a>
</div>
<div class="menu">
<a class="item" href="topic-02-JavaScript-1/book-01-Variables/index.html">
Variables</a>
</div>
<div class="menu">
<a class="item" href="topic-02-JavaScript-1/book-02-Operators/index.html">
JavaScript Operators</a>
</div>
<div class="menu">
<a class="item" href="topic-02-JavaScript-1/book-03-Selection/index.html">
Selection</a>
</div>
<div class="menu">
<a class="item" href="topic-02-JavaScript-1/book-04-Loops/index.html">
Loops</a>
</div>
<div class="menu">
<a class="item" href="topic-02-JavaScript-1/book-05-Pop Up Boxes/index.html">
Pop Up Boxes</a>
</div>
<div class="menu">
<a class="item" href="topic-02-JavaScript-1/book-06-Global Methods/index.html">
Global Methods</a>
</div>
<div class="menu">
<a class="item" href="topic-02-JavaScript-1/book-07-Exercise/index.html">
JavaScript Exercises</a>
</div>
</div>
<div class="header">
<a class="item" href="topic-03-JavaScript-2/index.html">
JavaScript Part Two
</a>
</div>
<div class="menu">
<div class="menu">
<a class="item" href="topic-03-JavaScript-2/talk-1/talk-1.pdf">
Lecture</a>
</div>
<div class="menu">
<a class="item" href="topic-03-JavaScript-2/book-00-String-Manipulation/index.html">
String Manipulation</a>
</div>
<div class="menu">
<a class="item" href="topic-03-JavaScript-2/book-01-Math-Object/index.html">
Math Object</a>
</div>
<div class="menu">
<a class="item" href="topic-03-JavaScript-2/book-02-Date-Object/index.html">
Date Object</a>
</div>
<div class="menu">
<a class="item" href="topic-03-JavaScript-2/book-03-Functions/index.html">
Functions</a>
</div>
<div class="menu">
<a class="item" href="topic-03-JavaScript-2/book-04-Validation/index.html">
Input Validation</a>
</div>
<div class="menu">
<a class="item" href="topic-03-JavaScript-2/book-05-Arrays/index.html">
Arrays</a>
</div>
</div>
</div>
<div class="pusher">
<div class="ui container">
<div class="ui basic segment">
<div class="ui centered four doubling stackable cards">
<a class="ui raised link card" href="topic-01-Module-Introduction/index.html">
<div class="center aligned content">
<div class="right floated meta"><i class="huge sitemap icon"></i></div>
<div class="header"> Module Introduction</div>
</div>
<div class="image">
<img class="ui bordered rounded image" src="topic-01-Module-Introduction/topic.png">
</div>
<div class="center aligned content">
<div class="description">
<p>This section introduces you to the module - Website Development 2.</p>
</div>
</div>
</a>
<a class="ui raised link card" href="topic-02-JavaScript-1/index.html">
<div class="center aligned content">
<div class="right floated meta"><i class="huge sitemap icon"></i></div>
<div class="header"> JavaScript Part One</div>
</div>
<div class="image">
<img class="ui bordered rounded image" src="topic-02-JavaScript-1/topic.jpg">
</div>
<div class="center aligned content">
<div class="description">
<p>This section introduces you to the basics of the Scripting language - JavaScript.</p>
</div>
</div>
</a>
<a class="ui raised link card" href="topic-03-JavaScript-2/index.html">
<div class="center aligned content">
<div class="right floated meta"><i class="huge sitemap icon"></i></div>
<div class="header"> JavaScript Part Two</div>
</div>
<div class="image">
<img class="ui bordered rounded image" src="topic-03-JavaScript-2/topic.png">
</div>
<div class="center aligned content">
<div class="description">
<p>This section explores various JavaScript methods.</p>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<footer>
</footer>
<script>
$(document).ready(function() {
$('img').addClass('ui image');
$('.ui.embed').embed();
const $images = $('.lab img');
jQuery.each($images, function(i) {
if ($images[i].alt.length > 0) {
const divImg = $(document.createElement('div')).addClass(
'ui basic segment',
);
$($images[i]).wrap(divImg);
const divLabel = $(document.createElement('div')).addClass(
'ui blue ribbon label',
);
divLabel.append($images[i].alt);
$(divLabel).insertBefore($images[i]);
}
});
$('.ui.menu .item').tab({
history: true,
historyType: 'hash',
});
$('.popup').popup();
$('.ui.sidebar')
.sidebar({ context: $('.pushable') })
.sidebar('setting', 'transition', 'slide out')
.sidebar('attach events', '#toc');
});
</script>
</body>
</html>