How do I tnclude TOC in toc.xhtml not have them not display?

3 posts / 0 new
Last post

Hi,
I am including a table of contents within the toc.xhtml with links to each chapter, but I do not want them to display on the reader. Is there a way to do this? Is it normal for the table of contents to show up at the end of the novel when viewing in a reader? Thanks so much for your help!

apologies, I tried to correct the spelling errors in the title above, but was subsequently blocked from doing so.

I figured out how to do this, by adding the hidden value to the code as below:

<nav xmlns:epub="http://www.idpf.org/2007/ops" epub:type="toc" id="toc" hidden="">

Secondary menu