View Single Post
Old 05-08-2018, 04:44 PM   #5
jiembe
Zealot
jiembe began at the beginning.
 
Posts: 145
Karma: 10
Join Date: Sep 2016
Location: Montréal Québec
Device: Kobo Glo; Kobo Libra
Quote:
ETA: I'm not saying that the above is the best way or the right way of doing footnotes, just that it is a way which seems to work trouble-free on a Kobo.
Your code is similar to mine. That's not the point. I don't want to see the footnote if I don't need or want it, even if they are at the end of a chapter or at the end of the book. So I simply put the footnotes inside a <div> with a display:hidden style. The only way to see the footnotes is to click on the renvoi. That's work fine in the kepub format but disallowed the possibility to see those notes in the epub format.

And this was 1 example of divergence code between epub and kepub. That's why I'm searching a way to toggle the CSS code between the 2.
jiembe is offline   Reply With Quote