I've been asked to investigate the possibility of creating a frameless html output with a TOC component.
I tried inserting a TOC proxy into the masterpage. I get a flat list of links, and nothing seems to distinguish a 1st level TOC entry from a second-level.
Is there any way to achieve style differences to distinguish between levels (indentation - bold for main entries)? Is there any way to imagine collapsing TOC entries and only expanding the selected item?
Here's a level 1 entry:
Code: Select all
<table cellspacing="0" cellpadding="0" class="GenTOCTable1" style="width: 100%;">
<colgroup><col style="width: 0pt;">
<col>
<col style="width: 10pt;">
</colgroup><tbody><tr>
<td class="mcReset">
</td><td class="GenTOCText1"><a href="B_Feature Topics/Features.htm" class="GenTOCText1">CH 2 Features</a>
</td>
<td class="GenTOCPageText1">
<madcap:xref data-mc-xref-target="" class="TOCPageNumber" style="mc-format: '{page}';"> <!--[CDATA[ ]]--></madcap:xref>
</td>
</tr>
</tbody>
</table>Code: Select all
<table cellspacing="0" cellpadding="0" class="GenTOCTable1" style="width: 100%;">
<colgroup><col style="width: 0pt;">
<col>
<col style="width: 10pt;">
</colgroup><tbody><tr>
<td class="mcReset">
</td><td class="GenTOCText1"><a href="B_Feature Topics/Feature1.htm" class="GenTOCText1">Feature 1</a>
</td>
<td class="GenTOCPageText1">
<madcap:xref data-mc-xref-target="" class="TOCPageNumber" style="mc-format: '{page}';"> <!--[CDATA[ ]]--></madcap:xref>
</td>
</tr>
</tbody>
</table>