-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·600 lines (540 loc) · 24.2 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
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ciclo de charlas #HowTo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="style.css" type="text/css">
<link href="css/lightbox.css" rel="stylesheet">
<link href="fonts/avenir-font.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Poppins:400,600,700,500,300' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Roboto:400,900italic,900,700italic,700,400italic,500,500italic,300,100italic,100,300italic' rel='stylesheet' type='text/css'>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<header class="header">
<div class="container">
<div class="row">
<div class="col-md-4 ">
<div class="navbar-header">
<button type="button" class="navbar-toggle menu-button" data-toggle="collapse" data-target="#myNavbar">
<span class="glyphicon glyphicon-align-justify"></span>
</button>
<a class="navbar-brand logo" href="#"> #HowTo </a>
</div>
</div>
<div class="col-md-8">
<nav class="collapse navbar-collapse" id="myNavbar" role="navigation">
<ul class="nav navbar-nav navbar-right menu">
<li><a href="#page-top" class="page-scroll active">Inicio</a></li>
<li><a href="#description" class="page-scroll">¿Qué es esto?</a><li>
<li><a href="#calendar" class="page-scroll">Calendario</a></li>
<li><a href="#work" class="page-scroll">Charlas</a></li>
<li><a href="#contacto" class="page-scroll">Contacto</a></li>
</ul>
</nav>
</div>
</div>
</div>
</header>
<div class="container-fluid main" id="page-top">
<div class="row">
<div class="col-md-12 backg">
<div class="col-md-4 col-md-offset-4 inner col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-3">
<div class="text-box">
<p class="intro">Próximo Evento</p>
<p class="date"> Viernes 2 de Diciembre, 13:45 hrs <br><br><br> Auditorio Philippe Flajolet, DCC, UChile </p>
<!--<p class="intro"> Evento Terminado </p>
<a type="button" data-toggle="modal" data-target="#Charla7Modal" class="btn btn-default"> Ver recursos disponibles </a> <br><br>-->
<h1 style="text-align:left;">Defensa de capa 8</h1>
<h3>Cómo defenderse de un ahorque frontal</h3>
<p>Por <span><a style="color: white;" href="https://www.facebook.com/daniel.avivnotario">Daniel Aviv</a></span></p>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid main" id="description">
<div class="col-md-12 some-notes">
<div class="title">
<h2 class="text-center portfolio-text">¿Qué es esto?</h2>
</div>
<div class="desc">
<p> Cada Viernes a las 13:45, un integrante del grupo #HowTo introducirá un tema en particular de su expertiz al público presente. El espectro de temas a tratar será amplio, concentrado en tópicos relacionados a la computación pero también explorando otros ámbitos, buscando aportar en la culturización de los estudiantes del departamento, funcionarios y académicos interesados. A su vez, dada su duración y horario, la idea es ofrecerlas como una alternativa a la mayor cantidad de alumnos posibles, con la profundidad suficiente para aprovechar de buena manera del tiempo dispuesto, sin ser demasiado ambiciosas respecto al aprendizaje. </p>
</div>
</div>
</div>
<div class="container-fluid features" id="calendar">
<div class="container">
<div class="row">
<div class="col-md-12">
<h2 class="text-center features-text">Calendario</h2>
<div class="responsive-iframe-container text-center">
<iframe src="https://calendar.google.com/calendar/embed?showTitle=0&showNav=0&showDate=0&showPrint=0&showTabs=0&showCalendars=0&showTz=0&mode=AGENDA&height=200&wkst=2&bgcolor=%23ffffff&src=v23sanimlreev3chei01gai52c%40group.calendar.google.com&color=%235A6986&ctz=America%2FSantiago" style="border:solid 1px #777" width="800" height="100" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid work" id="work">
<div class="container">
<div class="row" id="starts">
<div class="col-md-12 col-sm-12 col-xs-12 work-list">
<h2 class="text-center portfolio-text">Charlas</h2>
<!-- CHARLA I: CRIPTOGRAFÍA -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#" data-toggle="modal" data-target="#Charla1Modal">
<div class="featured-img">
<img src="images/charla1.jpg"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla1Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla I: Conceptos básicos de Criptografía: ¿Qué debo ocupar para tener la seguridad adecuada?</h4>
</div>
<div class="modal-body">
<p> Presentada por Camilo Gómez </p>
<iframe src="https://docs.google.com/presentation/d/1oXufIeffF2dY01zsw9K4xFYYuPUNcO6VHjjvrUZR_AU/embed?start=false&loop=false&delayms=5000" frameborder="0" width="562" height="350" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA II: CERVEZA -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#work" data-toggle="modal" data-target="#Charla2Modal">
<div class="featured-img">
<img src="images/charla2.png"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla2Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla II: Cerveza, sus más refrescantes secretos.</h4>
</div>
<div class="modal-body">
<p> Presentada por Nicolás Lehmann </p>
<!-- iframe generado en google drive, reveal.js o powerpoint online -->
<!--<img src="images/charla2.png" style="height:400px; width:auto;" /> -->
<iframe width="560" height="315" src="https://www.youtube.com/embed/UEURRBNnycU" frameborder="0" allowfullscreen></iframe>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA III: BITCOINS -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#work" data-toggle="modal" data-target="#Charla3Modal">
<div class="featured-img">
<img src="images/charla3.png"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla3Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla III: Bitcoins, cuando los bits se convirtieron en dinero.</h4>
</div>
<div class="modal-body">
<p> Presentada por Francisco Montoto </p>
<!-- iframe generado en google drive, reveal.js o powerpoint online -->
<iframe src="https://docs.google.com/presentation/d/1xJ9fidHkh12xkpkhWlAln2cb61ngur6MnPkCVxWTvGo/embed?start=false&loop=false&delayms=5000" frameborder="0" width="562" height="350" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA IV: CAFE -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#" data-toggle="modal" data-target="#Charla4Modal">
<div class="featured-img">
<img src="images/charla4.jpg"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla4Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla IV: El buen café, de la planta a su taza</h4>
</div>
<div class="modal-body">
<p> Presentada por Omar Miranda </p>
<iframe src="https://docs.google.com/presentation/d/1bLP4JUtqIzBRAhiAx8mJFl1NDSORr_vnBVVsVHSIcOI/embed?slide=id.p&start=false&loop=false&delayms=5000" frameborder="0" width="562" height="350" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe><br><br>
<span class='button'><a href="https://goo.gl/photos/Dg5YqegJbjXdeqHR9"> Ir a galería de fotos y videos <br> <img width="300" src="images/galeria-cafe.jpg"/></a></<span>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA V: -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#" data-toggle="modal" data-target="#Charla5Modal">
<div class="featured-img">
<img src="images/charla5.jpg"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla5Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla VII: Git01 Introducción al versionamiento</h4>
</div>
<div class="modal-body">
<p> Presentada por Boris Romero </p>
<iframe src="https://docs.google.com/presentation/d/18KrmvR1s21ka1fXiLzA8HG2FBJzX5VnY8DS3imuzIwE/embed?slide=id.p&start=false&loop=false&delayms=5000" frameborder="0" width="562" height="350" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe><br><br>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA VI: -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#" data-toggle="modal" data-target="#Charla6Modal">
<div class="featured-img">
<img src="images/charla6.jpg"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla6Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla VI: Fotografía 101 - Tips, historia y fundamentos</h4>
</div>
<div class="modal-body">
<p> Presentada por Mauricio Quezada </p>
<iframe src="files/charla6.pdf#zoom=38" frameborder="0" width="562" height="350" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe><br><br>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA VII: D3 -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#" data-toggle="modal" data-target="#Charla7Modal">
<div class="featured-img">
<img src="images/charla7.jpg"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla7Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla VII: Tutorial d3.js - Visualizaciones en la Web</h4>
</div>
<div class="modal-body">
<p> Presentada por Jazmine Maldonado </p>
<iframe src="https://docs.google.com/presentation/d/1Doxhsnmg3t6M8mtvWMHujApW8bhQFptEb7jRvbeI-mE/embed?slide=id.p&start=false&loop=false&delayms=5000" frameborder="0" width="562" height="350" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe><br><br>
<span class='button'><a href="https://drive.google.com/drive/folders/0B5ppVxR1O_c3dUU4dWN2dldoZjg?usp=sharing"> Carpeta Google Drive <br> Presentación + Código </a></<span>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA VIII: GIT02 -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#" data-toggle="modal" data-target="#Charla8Modal">
<div class="featured-img">
<img src="images/charla8.png"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla8Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla VIII: Git 02 GitHub y GitFlow</h4>
</div>
<div class="modal-body">
<p> Presentada por Francisco Montoto</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA IX: Programando Teoremas -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#" data-toggle="modal" data-target="#Charla9Modal">
<div class="featured-img">
<img src="images/charla9.png"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla9Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla IX: Programando teoremas, cuando tu código es una demostración</h4>
</div>
<div class="modal-body">
<p> Presentada por Nicolás Lehmann </p>
<br><br>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA X: LightRoom -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#" data-toggle="modal" data-target="#Charla10Modal">
<div class="featured-img">
<img src="images/charla10.png"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla10Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla X: LigthRoom, retocando fotos como un profesional</h4>
</div>
<div class="modal-body">
<p> Presentada por Hernán Sarmiento </p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA XI: Cuda -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#" data-toggle="modal" data-target="#Charla11Modal">
<div class="featured-img">
<img src="images/charla11.png"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla11Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla XI: Cuda, programación paralela en GPU</h4>
</div>
<div class="modal-body">
<p> Presentada por Valentín Muñoz </p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA XII: Deep Learning -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#" data-toggle="modal" data-target="#Charla12Modal">
<div class="featured-img">
<img src="images/charla12.png"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla12Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla XII: Deep Learning, con todo el TensorFlow</h4>
</div>
<div class="modal-body">
<p> Presentada por Omar Miranda </p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA XIII: Pomodoro -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#" data-toggle="modal" data-target="#Charla13Modal">
<div class="featured-img">
<img src="images/charla13.png"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla13Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla XIII: Técnica Pomodoro, Hackeando el tiempo de trabajo</h4>
</div>
<div class="modal-body">
<p> Presentada por Benjamín Holloway </p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
<!-- CHARLA XIV: Krav Maga -->
<div class="col-md-4 col-sm-6 col-xs-12 work-space">
<a href="#" data-toggle="modal" data-target="#Charla14Modal">
<div class="featured-img">
<img src="images/charla14.png"/>
</div>
</a>
</div>
<!-- Contenido del Modal -->
<div id="Charla14Modal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Charla XIV: Defensa de Capa 8, Cómo defenderse de un ahorque frontal</h4>
</div>
<div class="modal-body">
<p> Presenta por Daniel Aviv </p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Volver</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid notes" id="contacto">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12 notes-bg">
<div class="container">
<div class="col-md-8 col-sm-8 col-xs-12">
<p>Nos interesa saber tu opinión y si tienes sugerencias sobre qué cosas mejorar o qué cosas mantener.</p>
</div>
<div class="col-md-offset-1 col-md-2 col-md-offset-1 col-sm-offset-1 col-sm-2 col-sm-offset-1 col-xs-12">
<a type="button" href="http://goo.gl/forms/W6fyvOcLaR" class="btn btn-default btneff">Contactar</a>
</div>
</div>
</div>
</div>
</div>
<!--<div class="container-fluid footer">
<div class="row">
<div class="col-md-12">
<p>Copyright © Ravalic 2015 By <a href="http://www.html5layouts.com">HTML5 Layouts</a> | <a href="http://vectortoons.com/">Get Vector Graphics</a></p>
</div>
</div>
</div>-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/jquery.countTo.js"></script>
<script type="text/javascript" src="js/jquery.waypoints.min.js"></script>
<script src="js/lightbox.min.js"></script>
<script>
$(document).ready(function () {
$(document).on("scroll", onScroll);
$('a[href^="#"]').on('click', function (e) {
e.preventDefault();
$(document).off("scroll");
$('a').each(function () {
$(this).removeClass('active');
})
$(this).addClass('active');
var target = this.hash;
$target = $(target);
$('html, body').stop().animate({
'scrollTop': $target.offset().top
}, 500, 'swing', function () {
window.location.hash = target;
$(document).on("scroll", onScroll);
});
});
});
function onScroll(event){
var scrollPosition = $(document).scrollTop();
$('nav a').each(function () {
var currentLink = $(this);
var refElement = $(currentLink.attr("href"));
if (refElement.position().top <= scrollPosition && refElement.position().top + refElement.height() > scrollPosition) {
$('nav ul li a').removeClass("active");
currentLink.addClass("active");
}
else{
currentLink.removeClass("active");
}
});
}
</script>
<script type="text/javascript">
jQuery(function ($) {
// custom formatting example
$('.timer').data('countToOptions', {
formatter: function (value, options) {
return value.toFixed(options.decimals).replace(/\B(?=(?:\d{3})+(?!\d))/g, ',');
}
});
// start all the timers
$('#starts').waypoint(function() {
$('.timer').each(count);
});
function count(options) {
var $this = $(this);
options = $.extend({}, options || {}, $this.data('countToOptions') || {});
$this.countTo(options);
}
});
</script>
</body>
</html>