View Single Post
Old 01-07-2018, 05:56 PM   #24
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by jackie_w View Post
Odd! All I can say is the kepub footnotes pop-up for me in Semwize's book after cleaning-up the errors and re-coding the links. I didn't add any <sup> tags or CSS changes, but I did add HTML backlinks and used regex to logically renumber all 193 link/backlink ids to match the actual footnote number.

Here's an example:

Before - main body HTML (ie ch1-2.xhtml)::
Code:
<p ...>some text<a href="ch2.xhtml#id49" class="a">[1]</a></p>
Before - footnote HTML (ie ch2.xhtml):
Code:
<span id="id49">
    <div class="title1">
         <p class="p">1</p>
    </div>
...
</span>
After - main body HTML (ie ch1-2.xhtml)::
Code:
<p ...>some text<a href="ch2.xhtml#fn1" class="a" id="back1">[1]</a></p>
After - footnote HTML (ie ch2.xhtml):
Code:
<div id="id49">
    <div class="title1">
        <p class="p"><a id="fn1" href="ch1-2.xhtml#back1">1</a></p>
    </div>
...
</div>
That's about the only thing I didn't try. I moved the destination to the paragraph that actually contained the text. I'll try yours tonight. With this, what is actually displayed in the popup?
davidfor is offline   Reply With Quote