Threepress Consulting blog

Threepress creates software for publishers, educators and authors.

Category: css

JavaScript and interactivity in iBooks

iBooks supports JavaScript-based interactivity in EPUB content.
I took some content from Cooking with Booze by James Bridle (a.k.a. George Harvey Bone). It’s released under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 license, which means that this derivative work is as well.
I took one recipe and marked it up in EPUB:

I added some slightly [...]

Interactivity in EPUB using JavaScript, HTML5 and CSS3: BEA/IDPF video posted

I re-recorded my talk at IDPF Digital Book as a video. Getting the audio synced properly was no fun so I apologize for a few production issues.
Interactivity in EPUB
View more videos from lizadaly.

Here’s the executive summary of the talk:

You can add interactivity to an EPUB book using either the <object> or <script> elements.
[...]

HTML5 for publishers

The launch of the iPad and iBooks and the tremendous stream of one-off demos reimagining publishing have made it extremely difficult to understand what technologies for enriched content are available to publishers today. In particular, I’ve seen a lot of confusion about what HTML5 might actually mean and what specific opportunities it might bring for [...]

ePub and CSS: a reading system perspective

ePubs are being created with increasingly sophisticated designs and ebook devices are becoming increasingly powerful. This creates a real tension: ePub creators want to be able to develop nuanced ebook designs using CSS, the makers of ePub reading systems face an expanding range of screen sizes (from postage stamp to poster size), and some readers [...]

CSS columns for ebook text

Of all the problems I needed to solve to develop the mobile version of Ibis Reader, I didn’t think I’d need to solve pagination. “WebKit supports CSS3 columns, I don’t have to worry about it.”
My idea was that I’d make the viewport as wide as a single column but force at least 2 columns, and [...]