Quote:
Originally Posted by 413Michele
Yeah sure, here's the NCX for Chapter 1:
Code:
<navPoint id="num_5" playOrder="5">
<navLabel>
<text>CAPITOLO I. Come Candido è allevato in un bel castello e come n'è cacciato via.</text>
</navLabel>
<content src="Text/Section0004.xhtml#toc_1"/>
</navPoint>
And here the corresponding part in the file:
Code:
<h2 class="hidden" id="toc_1">CAPITOLO I. Come Candido è allevato in un bel castello e come n'è cacciato via.</h2>
|
You do not need #toc_1" because all it does is slow down using the ToC. With the unnecessary ID, the code has to load the chapter and then find the ID before displaying the chapter instead of just loading and displaying the chapter.
Also, it would be easier to find what's in what file if you renamed your files. So if Section0004.xhtml is chapter one, name it chapter01.xhtml.