Quote:
Originally Posted by RbnJrg
Yes, but the issue is that the property is erased when Sigil loads the epub. And Epubcheck allows the property "scripted" for nav.xhtml (in the .opf, property="nav scripted").
|
I'm not disagreeing that allowing the scripted property for the nav document is not prohibited. What I got from the article I read and made a couple of notes from is that the authors did not recommend using javascript in the nav document since it could cause issues with the renderer's ability to parse the file. Their suggested workaround was a vanilla navigation document that was hidden and a ToC file that could be fancified without needing to worry about the renderer parsing it.