
: Re: How can I toggle text reliably across all ereaders in an epub file? I'm trying to make a multilingual ebook where I have two different translations of the same story. I'm trying to get it
Javascript would be the best way to do this, but as you note, not all ebook reading systems support Javascript—in fact, very few of them beyond iBooks do. Without Javascript, this isn't really possible, unfortunately. The doppletext site that you link to uses Javascript, for example.
Ebook reading systems support a fairly limited subset of HTML and CSS. Of particular relevance, most of them do not support the advanced CSS selectors like the type being used in the checkbox hack that you link—there's no selecting the adjacent sibling.
The only other option that I can think of is epub 3.0's epub:trigger. Unfortunately, at present that only allows you to toggle visibility:hidden and not display:none, which means the space the invisible paragraphs take up will still be there, so you'll have giant translation-sized holes in your text. Even if the IDPF adds a display control to epub:trigger, epub 3 support in reading systems is sadly lacking (despite it being the approved standard for two and a half years now), so that probably won't get you any farther than using Javascript.
Sorry for being the bearer of bad news! I'd love to be proven wrong on this—I've worked on several ebook projects that could benefit from this type of thing, and have never been able to find a way to do this acceptably other than with Javascript.
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Hamaas

: Is it advisable to add sound excerpts to an ebook? As far as I know, many ebook readers may also play music. Does it make sense to create an ebook which contains (internal) link to audio

: How do I get an ISBN? Given that it is not necessary to have an ISBN if you plan to self-publish an ebook only via Amazon (they use their ASIN), which is the best way to get one, if someone