Also available in:

I am planning to do a major release (version 6!) of Nikola
my static blog and site generator the next weekend. It's a major version because there
has been a ton of feature work done. So, I will do a quick series highlighting some of
those improvements this week.

Today's Topic: Javascript

So, Nikola builds static pages. Like I often say, that doesn't mean they have to be boring.
IN this release, Nikola's templates are organized in such a way that it's easy to create
complex javascript-based layouts. Let's see an example.

And now, the fun part: let's do a very hackish JQuery script to make it look like an ebook reader!
You have to put this code in templates/ebook.tmpl in your site. Code offered without comments
mostly out of shame because I suck at JS: