From 796aadbbfee3af608953d438740b7473c1a94874 Mon Sep 17 00:00:00 2001 From: Peter Binkley Date: Sat, 8 Sep 2012 11:39:08 -0600 Subject: [PATCH] allow custom class for individual posts --- README.md | 5 ++++- index.html | 11 +++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6a58b4e..aeda9c8 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,13 @@ Create a Google Spreadsheet with the following columns: * caption * body * read more url +* class **Please note that the the _display date_ column must be in the format _Month day, Year_ (April 25, 2012) for proper javascript parsing.** **Also, all columns must be _plain text_ format, including the two date columns.** +The _class_ value will be added to the class attribute of the main div for that post, to support custom css. + Now follow the instructions over at Tabletop.js to publish the Spreadsheet. The Spreadsheet used in the example index.html file is at [https://docs.google.com/spreadsheet/ccc?key=0AsmHVq28GtVJdG1fX3dsQlZrY18zTVA2ZG8wTXdtNHc](https://docs.google.com/spreadsheet/ccc?key=0AsmHVq28GtVJdG1fX3dsQlZrY18zTVA2ZG8wTXdtNHc) @@ -51,4 +54,4 @@ You also need to update the name of the spreadsheet 'sheet' that holds the data The following plugins/libraries are used: [jQuery](http://jquery.com/), [Isotope](http://isotope.metafizzy.co), [Tabletop.js](http://github.com/jsoma/tabletop), [Handlebars.js](http://handlebarsjs.com/), [jQuery imagesLoaded plugin](http://github.com/desandro/imagesloaded), and [jQuery resize event](http://benalman.com/projects/jquery-resize-plugin/) -NOTE: All of the elements are free for non-commercial use. Commercial use of [Isotope](http://isotope.metafizzy.co) requires a $25 [license](http://metafizzy.co/#isotope-license). \ No newline at end of file +NOTE: All of the elements are free for non-commercial use. Commercial use of [Isotope](http://isotope.metafizzy.co) requires a $25 [license](http://metafizzy.co/#isotope-license). diff --git a/index.html b/index.html index d58d9a0..a86f7fc 100755 --- a/index.html +++ b/index.html @@ -13,6 +13,13 @@ +
@@ -68,7 +75,7 @@

Balance Media's Vertical Timeline

- \ No newline at end of file +