Browse Source

Update

pull/75/head
Zach Wise 13 years ago
parent
commit
19d60f40bb
  1. 29
      README.markdown

29
README.markdown

@ -16,21 +16,20 @@ JSON.
## Add it to your site
Place the embed code where you want the timeline to show in the `<body>` of your site.
` <!-- BEGIN Timeline Embed -->
<div id="timeline-embed"></div>
<script type="text/javascript">
var timeline_config = {
width: "100%",
height: "100%",
source: 'path_to_json/or_link_to_googlespreadsheet',
font: 'Bevan-PotanoSans', //OPTIONAL
maptype: 'Bevan-PotanoSans', //OPTIONAL
css: 'path_to_css/timeline.css', //OPTIONAL
js: 'path_to_js/timeline.js' //OPTIONAL
}
</script>
<script type="text/javascript" src="path_to_js/timeline-embed.js"></script>
<!-- END Timeline Embed -->`
`<div id="timeline-embed"></div>
<script type="text/javascript">
var timeline_config = {
width: "100%",
height: "100%",
source: 'path_to_json/or_link_to_googlespreadsheet',
font: 'Bevan-PotanoSans', //OPTIONAL
maptype: 'Bevan-PotanoSans', //OPTIONAL
css: 'path_to_css/timeline.css', //OPTIONAL
js: 'path_to_js/timeline.js' //OPTIONAL
}
</script>
<script type="text/javascript" src="path_to_js/timeline-embed.js"></script>`
## Options

Loading…
Cancel
Save