org.symbian.tools.wrttools.doc.WebDeveloper/html/js/s60/toc.js
changeset 229 716254ccbcc0
equal deleted inserted replaced
228:913c9751c067 229:716254ccbcc0
       
     1 initialCollapse = false;
       
     2 childCollapse = true;
       
     3 automaticSync = false;
       
     4 addControllers = false;
       
     5 
       
     6 /**
       
     7  * Initialize TOC.
       
     8  */
       
     9 function initToc() {
       
    10     if (tocSupported) {
       
    11         startProcess("Initializing TOC");
       
    12         addTocControllers();
       
    13         //addSyncButton();
       
    14         var baseUrl = getBaseUrl();
       
    15         var contentUrl = String(window.top.frames.main.location.href)
       
    16         var href = getRelativeUrl(contentUrl, baseUrl);
       
    17         findTocItem(href);
       
    18         endProcess("Done");
       
    19     }    
       
    20 }