View Single Post
Old 10-21-2010, 06:58 AM   #14
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
If you want a seperate link, other than the toc links, include in the <h#> tag an id decriptor something like
Code:
<h3 id="chap03">Chapter 3</h3>
then if you need to link to it elsewhere you can do something like
Code:
<a href="#chap03">Jump to Chapter 3</a>
Things to note.
The jump link has a #before the id-name.
The jump link would need a (relative)filename if the target is in a different file.
Code:
<a href="section1.html#chap03">Jump to Chapter 3</a>
Doesn't have to be used for just chapters, I use it for footnotes.
Code:
<p><a id="return01"></a>Here’s a <a href="#footnote1">link</a> which jumps to the end footnote.</p>
and further on
Code:
<p><a id="footnote1"></a>A footnote is here.</p>
<p>When selecting here. <a href="#return01">RETURN</a></p>
Edit: spelling
Perkin is offline   Reply With Quote