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?
|