mirror of
https://github.com/medialab-prado/poblados-colonizacion-colonias-penitenciarias.git
synced 2025-01-14 13:12:42 +01:00
presos timeline
This commit is contained in:
parent
92ba357bbf
commit
fde8568496
1 changed files with 25 additions and 4 deletions
|
@ -1,10 +1,31 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.11/p5.min.js"></script>
|
<!-- 1 -->
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.11/addons/p5.dom.min.js"></script>
|
<link title="timeline-styles" rel="stylesheet" href="https://cdn.knightlab.com/libs/timeline3/latest/css/timeline.css">
|
||||||
<script src="presos.js"></script>
|
|
||||||
<link rel="stylesheet" type="text/css" href="style.css">
|
<!-- 2 -->
|
||||||
|
<script src="https://cdn.knightlab.com/libs/timeline3/latest/js/timeline.js"></script>
|
||||||
|
|
||||||
|
<div id='timeline-embed' style="width: 100%; height: 500px"></div>
|
||||||
|
|
||||||
|
<!-- 3 -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
// The TL.Timeline constructor takes at least two arguments:
|
||||||
|
// the id of the Timeline container (no '#'), and
|
||||||
|
// the URL to your JSON data file or Google spreadsheet.
|
||||||
|
// the id must refer to an element "above" this code,
|
||||||
|
// and the element must have CSS styling to give it width and height
|
||||||
|
// optionally, a third argument with configuration options can be passed.
|
||||||
|
// See below for more about options.
|
||||||
|
var additionalOptions = {
|
||||||
|
start_at_end: false,
|
||||||
|
default_bg_color: {r:255, g:255, b:255},
|
||||||
|
timenav_height: 150
|
||||||
|
}
|
||||||
|
timeline = new TL.Timeline('timeline-embed',
|
||||||
|
'https://docs.google.com/spreadsheets/d/1VLDzqJzMt7yB29pRsdO_HfDVbCXrdIHXP9R2LNDSE9c/pubhtml',additionalOptions);
|
||||||
|
</script>
|
||||||
<style> body {padding: 0; margin: 0;} </style>
|
<style> body {padding: 0; margin: 0;} </style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in a new issue