View Single Post
Old 05-07-2010, 02:29 PM   #1
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Trying to make an Inline TOC

I am trying to implement an inline TOC in Sigil to use to build IMP and LRF files. Since each Chapter Heading already has an anchor for the Epub TOC, I have tried to link to them.


Link in Inline TOC
<div>
<a href="#Ch2"><span class="sgc-6">Chapter 2. The Beginning Of Troubles.</span></a>
</div>

Anchor in Chapter Heading
<h2 id="heading_id_2"><a id="Ch2">Chapter 2. The Beginning Of Troubles</a></h2>

CSS definition
span.sgc-6 {color: #000000}

After an entire morning trying to run this down, I'm bamboozeld. Where have I strayed from the path of virtue?

I imagine that the problem is multiple HTML files in the document but I don't know what to do.

Charlie

Last edited by crutledge; 05-07-2010 at 02:32 PM.
crutledge is offline   Reply With Quote