The tocjs plugin generates a Table of Contents for the DITA Open Toolkit's XHTML output that can expand and
collapse nodes. It is a more usable and visually pleasing option than the standard
The JavaScript code used in this plugin is derived from the Yahoo YUI Treeview widget. This plugin goes a long way to making DITA XHTML output slick and professional looking for a web site or custom built help engine.
Beginning with DITA-OT version 1.5.4, the code has been updated to supply default framesets using the same look-and-feel as this sample documentation. Existing users with customized tocjs processing will not notice a change; new users will immediately get working tocjs based output. If you want your own look and feel, rather than that of the samples, you will need to customize several things to get it working properly with your project.