org.symbian.tools.wrttools.doc.WebDeveloper/html/js/s60/toc.js
author tasneem@symbian.org
Thu, 11 Mar 2010 13:49:12 -0800
changeset 255 7adbd35a3290
parent 229 716254ccbcc0
permissions -rw-r--r--
Fixed 2200: Blurb image resized with added spacing to fit properly

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");
    }    
}