View Single Post
Old 03-23-2011, 01:26 PM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 65,026
Karma: 43118253
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 4, MS Surface Pro, N7
Create a "Table of Contents" page in your book, containing hyperlinks to each of your chapters. At the start of the page, add an anchor with a name. This will be the point in the book that is jumped to when the table of contents is chosen:

Code:
<a name="toc"></a>
(It doesn't matter what you call it, but "toc" is convenient.)

Now, open your OPF file in MobiPocket Creator, click the "Guide" tab, and enter a line like this:

Title: Table of Contents
Type: toc
Filename: book.html#toc

where the last entry is the name of your book file, of course.

Don't forget to click the "Update" button at the bottom of the page.

Now, build your book, and you will (hopefully!) have a working table of contents link.
HarryT is offline   Reply With Quote