Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-20-2015, 08:05 PM   #1
cupofjoe
Junior Member
cupofjoe began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2015
Device: kindle
Footnote Link Question

Tthe book I'm working on has a lot of footnotes. I have the footnotes at the back of the book and you can get to them by clicking a link from the text and it goes to the relevant footnote.

So when I get to the foootnotes, you can click a link back to where you were reading. My issue is that when you click back, it brings up your previous text at the very top of the page.

Is there something I can do where the text will be exactly where it was before I went to the footnotes?

I'm using the simple ID/anchor code.

The problem is more of an annoyance than anything. I've read ebooks before with footnotes, but I don't remember this being a problem (maybe it was, just don't remember it).


Thanks!
cupofjoe is offline   Reply With Quote
Old 05-20-2015, 08:58 PM   #2
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: 30,912
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Reading devices may not be precise:

the return Link needs to include the anchor
filename.xhtml#note1 says go to where id="note1" exists in filename.xhtml

Your device may throw you into the (ADE) 'block' that contains that id, rather than ON that id
theducks is offline   Reply With Quote
Advert
Old 05-20-2015, 09:12 PM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
As a simple link, it must point to a specific location. Sometimes the linkback refers to the exact location, sometimes to the beginning of the paragraph that referenced the footnote... but either way, it must link to a specified place.

There is no javascript in ebooks so you cannot use "javascript:history.back()" as the link. On the other hand, some ereaders provide their own back button.
eschwartz is offline   Reply With Quote
Old 05-21-2015, 02:47 AM   #4
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
the better e-readers e.g. Kindle voyage pop the footnote up on an overlay screen, so there's no risk of losing your place & none of this go back palaver to worry about.
[I confess I don't know what the under the bonnet code is for that. for me it just works so I read on & don't worry ]

I appreciate that's no great help if you are writing a book to sell for all current readers, but that's the way the hardware is evolving..
cybmole is offline   Reply With Quote
Old 05-21-2015, 05:51 AM   #5
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by theducks View Post
Reading devices may not be precise:

the return Link needs to include the anchor
filename.xhtml#note1 says go to where id="note1" exists in filename.xhtml

Your device may throw you into the (ADE) 'block' that contains that id, rather than ON that id
In my Fire HD tablet, the return link generally takes me to the first character at the top of a page, so all I see is the footnote number. Sometimes, having read the footnote, I'd like to see the sentence again! So I am inclined to put the return anchor at the beginning of the sentence.
Notjohn is offline   Reply With Quote
Advert
Old 05-21-2015, 06:01 AM   #6
rubeus
Banned
rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.rubeus ought to be getting tired of karma fortunes by now.
 
Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
A code snippet would be gelpful to check fiorst if there is any misspelling in the reference or id. At a frist glance it sounds like you mistyped the ID, clicking back throws you to the page, but as the reader cant find the ID you're on top of the page. Those broken links will not be pointed out as broken.
rubeus is offline   Reply With Quote
Old 05-21-2015, 07:54 AM   #7
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,359
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by rubeus View Post
At a frist glance it sounds like you mistyped the ID, clicking back throws you to the page, but as the reader cant find the ID you're on top of the page.
They're not talking about being taken back to the very top of an individual html page.They're describing how the target ID/anchor often becomes the top of the "page" on many readers after following the return link. It's expected (if slightly disappointing) behavior. This is exactly why many choose to put the return ID at a point before the original footnote link. It's probably never going to return to the exact screen it left (unless you use the "back" functionality provided by some readers/apps instead of the explicit return link), but it's a good idea to back up the return anchor to the beginning of the current sentence or paragraph so there's a bit of context when returning.

In short: what the OP and others are describing is not an error in the html or a bug (as others have already explained). What they want can't be achieved (from the perspective of epub creation alone). The link goes where the link goes (as others have pointed out). The choices are: to deal with it; move the return anchors to a point before the original footnote link; or to make use of a reader/app that has a built-in "back" feature or pop-up footnote feature.

Last edited by DiapDealer; 05-21-2015 at 07:56 AM.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PW2: Every link a footnote? How to allow navigation between sections within a book? ASD Conversion 1 08-31-2014 02:31 AM
Annnndddd ... Another Footnote Question GrannyGrump Workshop 3 11-29-2012 12:58 PM
HTML Link Question Fabe Sigil 3 01-28-2012 08:32 PM
simple anchor link question affa ePub 1 04-20-2011 04:29 AM
A Question about a Link patrisha w Amazon Kindle 2 02-21-2009 05:16 PM


All times are GMT -4. The time now is 03:28 AM.


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