On 27.2.2012 17:56, Hussein Shafie wrote: > No, otherwise this would have been documented.
Fair enough. After some Javascript debugging I have solved this by
modifying wh.min.js:
function whInitTOC() {
var toc = $("#wh-toc");
toc.toc({ cookieId: "whTOCState" });
$("#wh-toc-form").addClass("ui-widget ui-widget-header ui-corner-all");
var control = $("#wh-toc-control");
control.buttonset();
/** Added line **/
if ($.cookie('whTOCState') == null) toc.toc("expandCollapseAll", false);
I think that especially for larger maps this should be default.
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: [email protected] http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature
-- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

