![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2015
Device: Kindle DX
|
Amazon Kindle eBook: return link problem
Hello everyone,
I'm a student from Switzerland and I'm trying to write an ebook (in HTML CSS). I already generated the .mobi and everything is working well. I still have only one problem, I want to add a link "back to page" having the same behaviour as the back button and I was wondering if there was a function I can call or anything else that I can use to trigger this button or mimic its behavior. More precisely, when I press a hyperlink (in page 1) going to a new page (page 2) inside the book, I am enable to recover page 1 with the same view because I don’t know where page 1 starts (different from one kindle to another). Also using a Hyperlink in page 2 pointing to the hyperlink in page 1 brings a shifted view where the hyperlink in page 1 is set at the top of the page. The back button that is present on kindle resolve this problem, allowing me to came back to the original view of page 1, but I cannot find a way to call previous button. I’m looking for something like: Back to book, is this possible? Also if this is not possible, is there a way to create popups in the book like the translation popups when I hover words or any other solution ? Thank you very much for your help, Abdel Badou |
![]() |
![]() |
![]() |
#2 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
This is not the correct form, we do Kindle applications here, not e-books.
I think you want this forum: https://www.mobileread.com/forums/forumdisplay.php?f=168 (If you click the 'report' button on your post above you can use that report form to ask a moderator to move this thread to the correct place.) |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Moved to the Kindle book format forum.
|
![]() |
![]() |
![]() |
#4 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,731
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Quote:
There's no way to specify "a click of the back button". |
|
![]() |
![]() |
![]() |
#5 | |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
In the body text: Code:
<A id="anchor1" href="#fn1">[1]</A> Code:
<p><A id="fn1" href="#anchor1">[1]</A> Text of footnote 1... </p> <p><A id="fn2" href="#anchor2">[2]</A> Text of footnote 2... </p> You must have the backlink present, or you will not get popup footnotes. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
I usually put the anchor at the start of the paragraph. Otherwise the return clicks simply puts the number as the first character on the "page," which I find rather confusing. (I suppose if it were a long paragraph, I'd put the anchor at the beginning of the sentence.)
Some books put a Back link on top of the note (I suppose it could also go at the end). This presumably to give the reader a bigger target to click on. For the same reason, instead of a miniscule asterisk or roman numeral, I generally render it in square brackets, like [1]. |
![]() |
![]() |
![]() |
#7 | |||
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,544
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Quote:
Quote:
In the text: Code:
<P id="anchor_p1">Some text with a footnote<A id="anchor1" href="#fn1">[1]</A></P> Code:
<p><A id="fn1" href="#anchor1">[1]</A> Text of footnote 1... <div><A href="#anchor_p1">Back</A></div> </p> |
|||
![]() |
![]() |
![]() |
#8 | |||
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Nope. Call them whatever you want. Those are just the names that I use.
Quote:
Quote:
1. The <A> link contains both the anchor and the backlink. Without the backlink you won't see the footnote as a popup. Ie you won't get a popup if you have a backlink at the end of your footnote as a separate link. 2. The <A> link must be the very first thing in the footnote, because it's used by the Kindle to determine where one footnote end and the next one begins. Quote:
Last edited by HarryT; 08-05-2015 at 05:26 AM. |
|||
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2015
Device: Kindle DX
|
Does this pop ups work on the kindle preview (http://www.amazon.com/gp/feature.html?docId=1000765261), and if yes does someone ave a test that works one them ?
Thank you very much for your help. |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2015
Device: Kindle DX
|
Hello,
I tested your code and the code given by amazon for footnotes popups (https://kdp.amazon.com/help?topicId=A1IZ6N1F51ZYJ2) but it doesn't work on my wifi kindle (version 4.1.1). It sends me to a new footnote page so I have the same problem with the back link. Does anyone have an example that works on this version of kindle or any solution to this problem ? Thank you very much for your help. |
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,691
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Also your Kindle doesn't appear to have the latest firmware. Just to be on the safe side, install the 4.1.3 firmware, compile your test file with Kindle Previewer/KindleGen and transfer it to your Kindle with via USB. If your Kindle still doesn't display popup footnotes, the firmware of your device doesn't support it. In that case, you'll have to buy a used PW1 (or better) or install an Android/iOS app. For example Gitden Reader supports popup footnotes. |
|
![]() |
![]() |
![]() |
#12 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Yes, the code examples I gave will not magically add popup footnotes to a device that doesn't support them
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free Kindle eBook in Return for Honest Review | woodcowbooks | Self-Promotions by Authors and Publishers | 1 | 06-19-2014 02:45 AM |
Content Can you return an Amazon ebook if too many typos | Sylver | Amazon Kindle | 17 | 05-17-2011 12:25 AM |
I need a link of amazon to return a kindle !! | amungar | Amazon Kindle | 3 | 09-14-2010 11:29 AM |
Where to try Kindle and what is Amazon's return policy on Kindles? | pashlit | Amazon Kindle | 15 | 08-22-2010 05:41 PM |
Did anyone actually lost their kindle and had amazon return them? | swt_decadent | Amazon Kindle | 1 | 05-24-2010 03:03 PM |