From a9efd9a0657085cf8e1ae751926123cb3d0843d8 Mon Sep 17 00:00:00 2001 From: Zach Wise Date: Wed, 25 Jul 2012 16:59:26 -0500 Subject: [PATCH] Updated with method example --- README.markdown | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index 33b6f57..e2a9af1 100644 --- a/README.markdown +++ b/README.markdown @@ -14,7 +14,7 @@ Creating one is as easy as filling in a Google spreadsheet or as detailed as JSON. ## Add it to your site - +### Using Inline *easiest* Place the embed code where you want the timeline to show in the `` of your site. ```html @@ -38,8 +38,8 @@ Place the embed code where you want the timeline to show in the `` of your ``` +### Using a method *advanced* You could also initialize a new timeline using the `createStoryJS` method after `storyjs-embed.js` has been loaded - ```javascript createStoryJS({ type: 'timeline', @@ -50,10 +50,35 @@ You could also initialize a new timeline using the `createStoryJS` method after }); ``` +#### Example +```html + + + + + + + + + +
+ +``` + ## Options -###Language +### Language `lang` Localization *default is en*