View Single Post
Old 03-23-2011, 03:59 PM   #4
Strether
Guru
Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.
 
Strether's Avatar
 
Posts: 744
Karma: 2825929
Join Date: Feb 2007
Location: Fresno
Device: Kindle 1; iPad Air; iPhone 7; Kobo Libra; Kindle Oasis 3
Quote:
Originally Posted by HarryT View Post
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.
Except, if you're running IE-9, at least the beta version, it won't work. A conflict somewhere. I had to uninstall it and revert to IE-8.

Jim
Strether is online now   Reply With Quote