Quote:
Originally Posted by increase
I also want to create popup epub message as shown in my attachment.
|
If this book is intended for your Kindle, you don't need to embed Javascript code, because current Kindle models (6th Generation Kindle Paperwhite or better), will automatically display linked content as popup footnotes as long as the footnote has a valid backlink.
For more information on footnotes, see
this post by
Tex2002ans.
Some epub3 apps will also automatically display popup footnotes. Note that iBooks/Apple Books is rather picky when it comes to the
popup footnote syntax in epub3 books.
BTW,
KOReader will automatically display
in page footnotes in epub2 books at the bottom of a page, if the footnote has a special class attribute (footnote, note or note1)
and the in page footnotes option is enabled.
I.e., you might want to investigate the feasibility of using footnotes instead of Javascript code.