
: Embed JavaScript in an e-book using an e-reader I'm looking for an e-reader that can embed Javascript in an e-book. I need to display a popup in the e-book but using a e-reader. Apparently,
I'm looking for an e-reader that can embed Javascript in an e-book. I need to display a popup in the e-book but using a e-reader.
Apparently, it is not possible for the Kindle Reader but I'm wondering if it is possible with another device?
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Ravi

: Ebook app for Windows 8 I am looking for recommendations for an ebook application that runs on Windows 8/8.1 .

: Can I share premium ebooks online for free? I want to make a website on which users can upload their ebooks and share them with other users of the website. But I would like to know if it
2 Comments
Sorted by latest first Latest Oldest Best
Also Adobe Digital Editions 4.0 seems to reading JavaScript. It is rather important, because ADE is rendering engine for most e-readers for the market. Unfortunately not all (if any at all) manufacturers use new engine at this time.
ADE 4.0 is available on Adobe sites
Free books android app tbrJar TBR JAR Read Free books online gutenberg
JavaScript is an optional part of the epub 3.0 specification:
EPUB Content Documents may contain scripting using the facilities
defined for this in the respective underlying specifications ([HTML5]
and [SVG]).
What this means is that even a fully-compliant epub 3.0 device doesn't need to implement JavaScript support. The ones that do will generally be the "more bells and whistles" devices; the iPad, for example, supports JavaScript. The IDPF's epub Chrome extension Readium does as well.
Note that according to the epub 3.0 specification, the following criteria for reading systems that support JavaScript must be met:
› It must support container-constrained scripting and may support
spine-level scripting.
› It may render Scripted Content Documents as an interactive, scripted
User Agent according to [HTML5].
› It must not allow a container-constrained script to modify the DOM
of the parent Content Document or other contents in the EPUB
Publication, and must not allow it to manipulate the size of its
containing rectangle. (Note: Even if a script is not
container-constrained, the Reading System may impose restrictions on
modifications (see also the dom-manipulation feature).)
› It may place additional limitations on the capabilities provided to
scripts during execution (e.g., limiting networking).
› It must implement the JavaScript navigator extension object
epubReadingSystem defined in Appendix A, JavaScript epubReadingSystem
Object . It also must support the dom-manipulation and layout-change
features defined in Features in container-constrained scripting
contexts.
› It must regard the scripted [Publications301] property of the
Package Document manifest item element as the authoritative definition
of whether an EPUB Content Document includes scripting.
EDIT: Popup text and images are definitely possible using JavaScript in iBooks. For an example, check out Beneath The Ink.
Free books android app tbrJar TBR JAR Read Free books online gutenberg