org.symbian.tools.wrttools.doc.WebDeveloper/html/js/s60/toc.js
author Eugene Ostroukhov <eugeneo@symbian.org>
Wed, 10 Mar 2010 15:46:15 -0800
changeset 243 37d0d9cd8db6
parent 229 716254ccbcc0
permissions -rw-r--r--
Bug 1921 - Change default workspace location

initialCollapse = false;
childCollapse = true;
automaticSync = false;
addControllers = false;

/**
 * Initialize TOC.
 */
function initToc() {
    if (tocSupported) {
        startProcess("Initializing TOC");
        addTocControllers();
        //addSyncButton();
        var baseUrl = getBaseUrl();
        var contentUrl = String(window.top.frames.main.location.href)
        var href = getRelativeUrl(contentUrl, baseUrl);
        findTocItem(href);
        endProcess("Done");
    }    
}