View Single Post
Old 06-26-2013, 08:10 PM   #28
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
As Kovid said, the TOC is built from text it finds that could be considered a heading of some sort. If there is only the map, then there isn't anything to use. I suppose if there is an ALT text for the map, that could be used.

What I do is to add a hidden heading. The heading is:

Code:
<h1 class="hidden">Map</h1>
And the style is:

Code:
.hidden {
	display:none;
}
That gets a TOC entry generated without any text shown.
davidfor is offline   Reply With Quote