Quote:
Originally Posted by JSWolf
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.