About tocjs JavaScript TOC Navigation Plugin for the DITA Open Toolkit's XHTML output.

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 index.html generated by the Open Toolkit's dita2html transformation.

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.

All examples in this documentation assume a Unix style file separator. If you are on a Windows machine, replace the '/' character with a '\' character for all file paths.
Yahoo! Treeview Widget http://developer.yahoo.com/yui/treeview/ Sophos tocjs output http://wsa.sophos.com/docs/ws1000/