Details
Description
The toc macro in APT works great!
example: %{toc|section=0}
But.
It would be nice to make it CSS friendly with an divId= and/or divClass= parameter.
example: %{toc|section=0|divID=myTOC}
If divId or div/Class parameter exists, the toc macro should change the enclosing <div class="section"> accordingly.
If there is no enclosing <div class="section">, then create an additional <div> around the generated <ul><li> structure, which has the id/class as specified.
Issue Links
| This issue is duplicated by: | ||||
| DOXIA-320 | Make TOC macro CSS friendly |
|
|
|
Even better:
It would be nice if the divID parameter exists, then the generated TOC, should show outside of both
<div id="bodyColumn">
<div id="contentBox">
(with the speficied id).
This would allow the CSS programmer to put the TOC into the navigation column, where it really belongs.