View Single Post
Old 01-06-2011, 05:11 PM   #1
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Question Dynamic text with onclick & innerHTML?

I'm experimenting with creating bilingual epubs. I'd like to format sentences as non-underlined links that will display translations when the user clicks on them. I created an xhtml file that uses onclick to manipulate the innerHTML of an anchor element. It works fine as an xhtml file, but not when I add the file to an epub.
Is this yet another xhtml element not supported by the epub standard?
BTW, is there a list of valid xhtml elements that are currently not supported by the ePUB standard?
Attached Files
File Type: epub Dynamic HTML Test.epub (2.4 KB, 420 views)
File Type: zip Source.zip (448 Bytes, 443 views)
Doitsu is offline   Reply With Quote