@ -35,12 +35,12 @@ Add a `<div>` with an id called “timeline” in the `<body>` of your site.
### Step 3
### Step 3
Initialize the data source in either the `<head>` or the `<body>`
Initialize the data source in either the `<head>` or the `<body>`
`<script>`
`<script>
`$(document).ready(function() {`
$(document).ready(function() {
`timeline = new VMM.Timeline();`
timeline = new VMM.Timeline();
`timeline.init("your_data.json");`
timeline.init("your_data.json");
`});`
});
`</script>`
</script>`
## File Formats
## File Formats
@ -59,10 +59,7 @@ If you don’t want to mess with JSON, fire up Google Docs and build your
timeline in a spreadsheet. It’s as simple as dropping a date, text, and links
timeline in a spreadsheet. It’s as simple as dropping a date, text, and links
into the appropriate columns in Timeline’s template.
into the appropriate columns in Timeline’s template.
You can find the template here: [https://docs.google.com/a/digitalartwork.net/
You can find the template here: [https://docs.google.com/a/digitalartwork.net/previewtemplate?id=0AppSVxABhnltdEhzQjQ4MlpOaldjTmZLclQxQWFTOUE&mode=public](https://docs.google.com/a/digitalartwork.net/previewtemplate?id=0AppSVxABhnltdEhzQjQ4MlpOaldjTmZLclQxQWFTOUE&mode=public)