summaryrefslogtreecommitdiff
path: root/timelinejs.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'timelinejs.tpl.php')
-rw-r--r--timelinejs.tpl.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/timelinejs.tpl.php b/timelinejs.tpl.php
new file mode 100644
index 0000000..0c1004a
--- /dev/null
+++ b/timelinejs.tpl.php
@@ -0,0 +1,16 @@
+<!-- BEGIN Timeline Embed -->
+<div id="timeline-embed" style="width:960px; height: 500px;"></div>
+<script type="text/javascript">
+ var timeline_config = {
+ width: "960px",
+ height: "500px",
+ source: '/sites/boletim/files/timeline-saude-indigena_2.json',
+ start_at_end: false,
+ hash_bookmark: true,
+ css: '/sites/boletim/themes/boletimclean/timeline.css',
+ js: '/sites/all/libraries/timelinejs/compiled/js/timeline.js',
+ lang: '/sites/all/libraries/timelinejs/compiled/js/locale/pt-br.js'
+ }
+</script>
+<script type="text/javascript" src="/sites/all/libraries/timelinejs/compiled/js/timeline-embed.js"></script>
+<!-- END Timeline Embed -->