View Full Version : Canvas in ePub


killercatfish
09-27-2011, 11:07 PM
Hello!

Is there anyone here who can help me figure out where I put this code: Touch Canvas (http://web.kinderas.com/demos/touch_draw_simple/main.js)

In this post (http://kinderas.blogspot.com/2011/03/drawing-by-touching-using-javascript.html) it talks about creating the javascript code for a script useable on an iPad. I would like to embed this into an ePub (put it in an object perhaps?)

Could someone help me with this, or point me in the correct direction? I am creating a math text book and I would like my students to be able to work problems out directly in the epub.

Thanks!

-Josh

Toxaris
09-28-2011, 04:33 AM
I am not quite if it is possible in an ePUB. If it is, it will only work on iPad and it will no longer be a valid ePUB. It would be a quirk of the reading software whether it would work.
Perhaps when the new specs from the IDPF are approved it is possible, but then the question remains whether the implementation of Apple will follow specs.