});
//Generate the tree
+ $("#ulTreeDiv").attr("style","");
$("#tree").treeview({
collapsed: true,
animated: "medium",
//after toc fully styled, display it. Until loading, a 'loading' image will be displayed
$("#tocLoading").attr("style","display:none;");
- $("#tree").attr("style","display:block;");
+// $("#ulTreeDiv").attr("style","display:block;");
//.searchButton is the css class applied to 'Go' button
$(function() {
<div id="treeDiv">
<img src="../common/images/loading.gif" alt="loading table of contents..."
id="tocLoading" style="display:block;"/>
- <ul id="tree" class="filetree" style="display:none;">
- <xsl:apply-templates select="/*/*" mode="webhelptoc">
- <xsl:with-param name="currentid" select="$currentid"/>
- </xsl:apply-templates>
- </ul>
+ <div id="ulTreeDiv" style="display:none">
+ <ul id="tree" class="filetree">
+ <xsl:apply-templates select="/*/*" mode="webhelptoc">
+ <xsl:with-param name="currentid" select="$currentid"/>
+ </xsl:apply-templates>
+ </ul>
+ </div>
+
</div>
<xsl:if test="$webhelp.include.search.tab != 'false'">
<div id="searchDiv">