View Single Post
Old 09-19-2013, 05:22 AM   #1
tobias.wantzen
Member
tobias.wantzen began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2011
Device: none
Cross References: How to Handle the Backlinks of Multiple Links to One Anchor?

Hi,

I have a book with many cross references inside. A one-to-one relationship of anchor and link is simply solved with one backlink to the link (i.e. back to where the reader came from):

Code:
Link to anchor in chapter 5:
blablabl <a id="ref-1579-7-backlink" class="ref-link" href="#ref-1579-7">(see chapter 7)</a> blablabla

Anchor with backlink in chapter 7:
<a id="ref-1579-7" class="ref-anchor" href="#ref-1579-7-backlink">(back to chapter 5)</a> Blablabla
But how would you handle the case of 1 anchor, and many links to it, so the reader understands, where to go?

Code:
Link to anchor in chapter 8:
blablabl <a id="ref-1579-7a-backlink" class="ref-link" href="#ref-1579-7">(see chapter 7)</a>

Link to anchor in chapter 10:
blablabl <a id="ref-1579-7b-backlink" class="ref-link" href="#ref-1579-7">(see chapter 7)</a>

Anchor with backlink in chapter 7:
<a id="ref-1579-7" class="ref-anchor" href="#??????">(?????)</a> Blablabla
I also have footnotes, which are referenced twice ...


What’s a good solution for this?

Regards
Tobias
tobias.wantzen is offline   Reply With Quote