Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2020, 11:42 AM   #16
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 86
Karma: 10
Join Date: Jan 2020
Device: kindle
Creating message popups in epub

I also want to create popup epub message as shown in my attachment.

I created javascript popup on click message, but when I click the link, the popup flashes then disappears?
Attached Thumbnails
Click image for larger version

Name:	popup_issue.png
Views:	138
Size:	90.9 KB
ID:	176851  
increase is offline   Reply With Quote
Old 02-02-2020, 12:19 PM   #17
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 86
Karma: 10
Join Date: Jan 2020
Device: kindle
This is exactly what I want to do

Any suggestions please?
Attached Thumbnails
Click image for larger version

Name:	popup_issue.png
Views:	152
Size:	205.5 KB
ID:	176852  
increase is offline   Reply With Quote
Advert
Old 02-02-2020, 02:10 PM   #18
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,781
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I think this is an EPUB3 question. I will leave it here for now.
PM me if you would like it moved to the EPUB forum.

BTW does your Kindle even support this action?
theducks is online now   Reply With Quote
Old 02-02-2020, 02:13 PM   #19
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 86
Karma: 10
Join Date: Jan 2020
Device: kindle
Yes please can you transfer to epub, I don't have kindle to check, so I was checking the Sigil epub on and android
increase is offline   Reply With Quote
Old 02-02-2020, 03:04 PM   #20
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,781
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Moderator Notice
Moved from Sigil
theducks is online now   Reply With Quote
Advert
Old 02-02-2020, 05:04 PM   #21
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by increase View Post
I also want to create popup epub message as shown in my attachment.
If this book is intended for your Kindle, you don't need to embed Javascript code, because current Kindle models (6th Generation Kindle Paperwhite or better), will automatically display linked content as popup footnotes as long as the footnote has a valid backlink.

For more information on footnotes, see this post by Tex2002ans.

Some epub3 apps will also automatically display popup footnotes. Note that iBooks/Apple Books is rather picky when it comes to the popup footnote syntax in epub3 books.

BTW, KOReader will automatically display in page footnotes in epub2 books at the bottom of a page, if the footnote has a special class attribute (footnote, note or note1) and the in page footnotes option is enabled.

I.e., you might want to investigate the feasibility of using footnotes instead of Javascript code.
Doitsu is offline   Reply With Quote
Old 02-03-2020, 09:54 AM   #22
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,157
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Quote:
Originally Posted by increase View Post
Yes please can you transfer to epub, I don't have kindle to check, so I was checking the Sigil epub on and android
When you say android please keep in mind that there are many Epub reading programs for Android, and they all work differently.
PeterT is offline   Reply With Quote
Old 02-04-2020, 06:21 AM   #23
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 86
Karma: 10
Join Date: Jan 2020
Device: kindle
Finally got it working using this excellent post [QUOTE=fxp33;2702762]Hi Leonatus, and the example epub file Many thanks to him!
increase is offline   Reply With Quote
Old 02-04-2020, 12:33 PM   #24
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 86
Karma: 10
Join Date: Jan 2020
Device: kindle
Groan, The popups work great, but I have 2 errors when I run kdpvalidator in Sigil

1. <aside> tag not supported by kindle (although it is in the kindle list)

2. all links give bad internal link error

any suggestions?
increase is offline   Reply With Quote
Old 02-04-2020, 12:50 PM   #25
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by increase View Post
1. <aside> tag not supported by kindle (although it is in the kindle list)
<aside> tags can only be used in epub3 books. You can convert your epub2 book to an epub3 book with the ePub3-itizer Sigil plugin or simply replace the <aside> tags with <div> tags.

Quote:
Originally Posted by increase View Post
2. all links give bad internal link error
You'll need to post the code that you've used for a footnote link and the corresponding footnote definition.

EDIT:
BTW, the kdpvalidator plugin is not an official KDP validation tool and, AFAIK, it doesn't support epub3 books.

Last edited by Doitsu; 02-04-2020 at 01:25 PM.
Doitsu is offline   Reply With Quote
Old 02-04-2020, 02:01 PM   #26
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 86
Karma: 10
Join Date: Jan 2020
Device: kindle
Thanks Doitsu the epub3 conversion fixed the aside issue, I need to upgrade kdpvalidator to epub3 do you have a link?
increase is offline   Reply With Quote
Old 02-04-2020, 03:06 PM   #27
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by increase View Post
[...]I need to upgrade kdpvalidator to epub3 do you have a link?
You'll have to ask the kdpvalidator plugin author to add epub3 support.
Doitsu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Newbie] Book cover list support? Popup footnote support nqk KOReader 1 02-19-2016 05:23 AM
Newbie with a question René vd Abeelen Sigil 16 11-26-2014 06:13 AM
question from a newbie silverraven Barnes & Noble NOOK 5 12-03-2011 01:10 AM
newbie question Dayum Which one should I buy? 6 12-31-2010 07:25 AM
Newbie Question kindlezzz Amazon Kindle 6 08-20-2010 07:15 AM


All times are GMT -4. The time now is 11:06 AM.


MobileRead.com is a privately owned, operated and funded community.