![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: May 2012
Device: iPad
|
Epub3 and Interactivity
So... I'm in the biggest rut ever and this is for my bachelor degree... Are you up for a challenge?
![]() (I know the threads on here - it says animation is not supported, etc etc) I want to create a children's story (it's a poem with 5 pages about stress relief, a friend of mine is illustrating it) with interaction using Epub3. The epub will be free on various platforms when done. My first direction is however towards iPad. As long as something HAPPENS when touching different hotspots, I'm happy, BUT...
Code:
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"> <rect x="20" y="20" width="250" height="250" style="fill:blue"> <animate attributeType="CSS" attributeName="opacity" from="1" to="0" dur="5s" repeatCount="indefinite" /> </rect> </svg> That said, I have also found this: http://blog.threepress.org/2011/01/3...ok-world-2011/ But of course the code she uses is not shown, just a mild outline. And as far as I've researched - javascript is not to be trusted and shouldn't be used? Or is there javascript that works with epub3? Is there any code you know of using some sort of interaction or animation that actually works except that fading rectangle? Last edited by Thornchan; 05-08-2012 at 09:07 AM. |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It won't work on various platforms as various platforms don't support ePub3. The best you'll get maybe is using iBooks. iBooks is not standard, so you'll have to figure out iBooks' oddities. But any eink reader does not support ePub3 nor ePub with animations.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
The animation part of SVG is also not supported in ePUB v3, just like in ePUB v2. It is in the specifications:
Quote:
Please be aware that there are hardly any ePUB v3 readers or reading applications. The iBooks program is not, as JSWolf already said, a good example. It is tuned to Apple's version of ePUB and deviates from the IDPF specifications. YMMV. |
|
![]() |
![]() |
![]() |
Tags |
epub, epub3, interaction, ipad |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub3 | pbs_ebook | Writer2ePub | 1 | 05-06-2011 11:47 AM |
Adding Interactivity to ePub File? | ldespain | ePub | 4 | 09-19-2010 06:36 AM |
JavaScript and interactivity in iBooks | kjk | Apple Devices | 2 | 08-16-2010 10:14 AM |
Web fiction hotbed of reader and writer interactivity | Falbe Publishing | General Discussions | 0 | 06-15-2010 10:35 AM |
Epub Revision - rich media & interactivity | Nate the great | ePub | 17 | 04-11-2010 10:25 PM |