View Single Post
Old 02-18-2025, 12:09 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,842
Karma: 6120478
Join Date: Nov 2009
Device: many
Have you enabled javascript in Sigil Preferences? It is off by default for security reasons.

Are you creating an epub3? Epub2 does not support javascript.

What e-readers have you tested it with? Not all epub3 e-readers support javascript? And no epub2 only e-readers do that I know of.

Where or how is your javascript function invoked? Defining a javascript function does not invoke it.

And fwiw, scripting the nav which is meant to always be machine parseable is probably not the best idea.

Last edited by KevinH; 02-18-2025 at 12:53 PM.
KevinH is offline   Reply With Quote