![]() |
#1 |
Connoisseur
![]() Posts: 95
Karma: 10
Join Date: Jan 2020
Device: kindle
|
popup note images are showing in the epub
I am using kindle previewer on PC
Using this code as my link, <a epub:type="noteref" href="#n1" style="font-size: 14pt; font-family: arial;">gender</a>, <span style="font-size: 1em;"> And this as the popup note <aside class="hidden" epub:type="footnote" id="n1"><p style="font-size: 1em; padding-bottom: 3px;"></p> <a href="#n1"><img alt="return" src="../Images/return.png" width="30" height="16"/></a> The popup all works fine, but the image is showing in the ebook |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 315
Karma: 3196766
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
No real advice, but I'd just use a unicode arrow if it were me; and since (it looks like) you're trying to hide the endnote anyway, I'm actually not sure the arrow serves much purpose. Probably I'm misunderstanding, though.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Connoisseur
![]() Posts: 95
Karma: 10
Join Date: Jan 2020
Device: kindle
|
Quote:
Seems to be something to do with the syntax in this line <aside class="hidden" epub:type="footnote" id="na"><h5 style="color: green;"><a href="#n1"><img alt="return" src="../Images/return.png" width="30" height="16"/></a></h5> I got it to work when by mistake I put the same reference on two of the popup codes and the third one showed the arrow, so it needs the above code modyfying but I am not sure how |
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 95
Karma: 10
Join Date: Jan 2020
Device: kindle
|
Got it!
<aside class="hidden" epub:type="footnote" id="n1"><h5 style="color: green;"><a href="#nb"><img alt="return" src="../Images/return.png" width="30" height="16"/></a></h5> Just swapped the references around and bingo |
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 95
Karma: 10
Join Date: Jan 2020
Device: kindle
|
False alarm I still have the problem
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() Posts: 95
Karma: 10
Join Date: Jan 2020
Device: kindle
|
|
![]() |
![]() |
![]() |
#7 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,973
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Personally, I'd prefer:
Code:
.hidden { display : none; } |
![]() |
![]() |
![]() |
#8 | |
Connoisseur
![]() Posts: 95
Karma: 10
Join Date: Jan 2020
Device: kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,063
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
In either case the actual footnote is still part of the visible book content somewhere. (Typically at the very end of the book.) Last edited by jhowell; 02-12-2020 at 11:18 AM. |
|
![]() |
![]() |
![]() |
#10 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,973
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
As for trying to hide them? That is what display:none does and it does the job without having the space where the text would be showing as a blank box. Of course, the text will also be hidden when you pop up the note. Something about cake and eating it comes to mind. Last edited by DNSB; 02-13-2020 at 11:29 AM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
(foot)note as popup | Patrick V | ePub | 19 | 09-22-2019 10:38 AM |
Images now showing in ePub after editing in Sigil or Calibre | postkast2929 | ePub | 44 | 04-21-2016 11:45 AM |
Images not showing in ePub books | jstabe | ePub | 4 | 01-01-2014 04:17 PM |
Gif images not showing in epub | Amalthia | Conversion | 9 | 06-07-2012 03:43 PM |
Alreader not showing images after editing ePUB with Sigil | cerramadre | Sigil | 27 | 09-02-2011 10:24 PM |