|06-27-2012, 01:12 PM||#1|
Join Date: Jun 2012
Links not working properly?
The code for the links is fine, but they're not working properly in the finished epub. An example of one reads:
<a href="../Text/06-One-Notes.xhtml#1-1"><sup><span class="sgc-16">1</span></sup></a>
In the file it links to, the anchor names are set correctly and in the correct places. However, when I test the file (with both Adobe Digital Editions and Nook for Mac), the links only bring me to the beginning of the section, instead of the specific place in the file where I have set in the anchor tags.
It kind of defeats the point of the linked notes if they don't bring you to the correct note.
|06-27-2012, 02:04 PM||#2|
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
IDs (and hence url fragments) can't start with a numeral (might just be an ADE thing, I'm not entirely sure, but it's best to just not do it anymore once you know).
Means that somewhere there is an ID that looks like: <p id="1-1"> or <a id="1-1"> or <h2 id="1-1"> or something to that effect.
Change the ID so that it starts with a letter (or I believe an underscore will work too).
“Politics: A strife of interests masquerading as a contest of principles. The conduct of public affairs for private advantage.”
Last edited by DiapDealer; 06-27-2012 at 02:28 PM.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Kindle for pc not working properly||bodhran||Amazon Kindle||4||09-18-2011 01:45 PM|
|Focus not properly shifting on links||JSWolf||Feedback||9||08-14-2010 06:12 PM|
|How to properly format links so they validate and work, too?||justbobf||ePub||5||07-15-2010 07:57 PM|
|Classic Trook rev53 is not working properly with Calibre||mos||Nook Developer's Corner||12||03-26-2010 08:14 AM|
|lrf files not working properly||munty||LRF||4||01-25-2009 05:01 PM|