Browse Source

Update

pull/75/head
Zach Wise 13 years ago
parent
commit
8098ded35b
  1. 26
      README.markdown

26
README.markdown

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

Loading…
Cancel
Save