![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Sep 2019
Device: mobi
|
Links in Sigil not working from linked item back to text
Hello,
I have just finished creating an ePub file in Sigil ePub 2.0, and i am having some trouble with the hyperlinks. My book has links to notes at the end in a file called "notes". The links from the text to the respective notes work well and go directly to the correct note (link). However, when I click on the link number to go back to the text, it takes me to the beginning of the chapter instead of to the hyperlinked text. Does anyone know why this is happening? |
![]() |
![]() |
![]() |
#2 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 10010
Join Date: Oct 2018
Device: Tolino/PRS 650/Tablet
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
example-
html file: <p>Some paragraph with a <a id="backhere1" href="../Text/notes.html#ref1">link</a>.</p> footnotes file: <ul> <li><a id="ref1" href="../Text/page1.html#backhere1">[1]</a>Footnote 1</li> </ul> |
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
And he's also correct with his educated guess, jumping to the top of the file is usually a sign your links aren't coded properly. You can press Tools > Reports > Links and looking in the Target Exists? column. If the links work correctly, they should say "Yes". If you have a lot of "No", it would be an extra good idea to post examples of code here. |
|
![]() |
![]() |
![]() |
#5 |
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,202
Karma: 34984330
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
|
One very basic suggestion is to always start your id with an alpha character --- some readers (including ADE for PC) do not recognize ids that start with a digit, and the link will jump to the beginning of the file.
so id="a001" would work. id="001" might not work in your particular reader. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil 0.9.8 - 0.9.9 F7 (Flightcrew?) does not pick up mismatched TOC item | Chris_Snow | Sigil | 9 | 05-08-2018 12:07 AM |
Working with text color in Sigil? | wlashack | Sigil | 3 | 03-27-2018 08:24 AM |
CSS linked but not working on last chapter | Trane | Sigil | 18 | 12-22-2016 12:10 PM |
Highlighting linked text | Julanna | ePub | 26 | 11-09-2014 04:32 PM |
including RSS item pubDate in ebook text | alison87 | Recipes | 2 | 02-05-2011 04:40 PM |