Browse Source

Changed to new embed method

pull/75/head
Zach Wise 13 years ago
parent
commit
be796f27fd
  1. 7
      examples/template_googlespreadsheet/index.html
  2. 2
      examples/template_json/index.html

7
examples/template_googlespreadsheet/index.html

@ -31,10 +31,13 @@
<!-- BEGIN Timeline Embed --> <!-- BEGIN Timeline Embed -->
<div id="timeline-embed"></div> <div id="timeline-embed"></div>
<script type="text/javascript"> <script type="text/javascript">
var config = { var timeline_config = {
width: "100%", width: "100%",
height: "100%", height: "100%",
source: 'https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadHdKcHlHcTB5bzhvbF9iTWwyMmJHdkE&output=html' source: 'https://docs.google.com/spreadsheet/pub?key=0Agl_Dv6iEbDadHdKcHlHcTB5bzhvbF9iTWwyMmJHdkE&output=html',
font: 'Bevan-PotanoSans', //OPTIONAL
css: '../../timeline.css', //OPTIONAL
js: '../../timeline.js' //OPTIONAL
} }
</script> </script>
<script type="text/javascript" src="http://veritetimeline.appspot.com/latest/timeline-embed.js"></script> <script type="text/javascript" src="http://veritetimeline.appspot.com/latest/timeline-embed.js"></script>

2
examples/template_json/index.html

@ -36,7 +36,7 @@
<!-- BEGIN Timeline Embed --> <!-- BEGIN Timeline Embed -->
<div id="timeline-embed"></div> <div id="timeline-embed"></div>
<script type="text/javascript"> <script type="text/javascript">
var config = { var timeline_config = {
width: "100%", width: "100%",
height: "100%", height: "100%",
source: 'data.json' source: 'data.json'

Loading…
Cancel
Save