org.symbian.tools.wrttools.doc.WebDeveloper/html/js/s60/toc.js
changeset 229 716254ccbcc0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/js/s60/toc.js	Fri Mar 05 19:11:15 2010 -0800
@@ -0,0 +1,20 @@
+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");
+    }    
+}
\ No newline at end of file