View Single Post
Old 08-29-2019, 05:27 PM   #44
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
Quote:
Originally Posted by JSWolf View Post
Can you give an example of footnote code that would create a popup on a Kobo using kepub? Thanks.
I'll have to test this on the kobo, but what partially works with Calibre's vewer is this.

I'm using the reset css from https://github.com/FriendsOfEpub and in it is:

Code:
[hidden] {
  display: none;
}
My footnote is still the clunky one that's not superscripted. It's using the same stuff from the daisy.org page:

Code:
<a href="#ref1" role="doc-noteref" epub:type="noteref">[Note 1]</a>
Following that paragraph is the aside:

Code:
<aside hidden="hidden" id="ref1" role="doc-footnote" epub:type="footnote">
  <p>See page 450.</p>
</aside>
The part I don't understand is how to hide the aside. If I take out the hidden attribute then it's displayed after the paragraph. With the hidden attribute included the popup is empty.
lumpynose is offline   Reply With Quote