summaryrefslogtreecommitdiff
path: root/timelinejs.tpl.php
blob: cd8a8461bb0949699c3dc2d09b33d9776e0c01b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!-- BEGIN Timeline Embed -->
<div id="timeline-embed" style="width:960px; height: 500px;"></div>
<script type="text/javascript">
  var timeline_config = {
      width:  "<?php print $width; ?>",
      height: "<?php print $height; ?>",
      source: '<?php print $source; ?>',
      start_at_end: <?php print $start_at_end; ?>,
      hash_bookmark: <?php print $hash_bookmark; ?>,
      css: '<?php print $css; ?>',
      js: '<?php print $js; ?>',
      lang: '<?php print $lang; ?>'
  }
</script>
<script type="text/javascript" src="/<?php print $library_path; ?>/compiled/js/timeline-embed.js"></script>
<!-- END Timeline Embed -->