View Single Post
Old 10-17-2009, 05:59 PM   #6
kjk
.
kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.kjk ought to be getting tired of karma fortunes by now.
 
Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
Quote:
Originally Posted by Valloric View Post
You can put anything between the heading tags to make Sigil link to it in the NCX, and set the "title" attribute on the <h#> element to get the text.

So, "<h1 title='Chapter 1'><img ... ></h1>". The TOC would link to that heading element (and by extension, the images inside it) and the TOC entry would say "Chapter 1".
awesome, thanks Valloric!
kjk is offline   Reply With Quote