View Full Version : Smart Folding Menu Tree Script question

02-22-2006, 09:10 PM
Smart Folding Menu Tree Script

The problem that has occured with my script is that when I navigate into 1 tree and then try to navigate into a sub tree of that one the cookie JVscript does not save that expanded menu. I have links set on all the items listed so when the person clicks on one of the links in the sub tree it closes the tree and loads the page (each link is internally linked so the same folding menu tree loads back up on the left side)... With all the other trees I dont experience this problem. I click on the links and the cookie script saves its position when loading the page again. It just seems to be a sub tree problem. Its pretty hard to explain I hope you understand the situation.
Here is a part of the code thats in the middle of the tree.. this includes the sub tree "Full Sized SBC" of its main tree "Industrial PC". The cookie script I did not edit and its located in the right spot. I dont understand how this sub tree does not stay expanded when its reloaded. Any help would be appreciated.


<li id="foldheader"><font size="2" face="Times New Roman">▪ </font>
<font size="1"><b>Industrial PC</b></li> </font>
<ul id="foldinglist" style="display:''" style=&{head};>
<li style="margin-left: -15px" id="foldheader"><span class="hoveroff" onmouseout="this.className='hoveroff';"
onmouseover="this.className='hoveron';"><font size="2">Full Sized SBC</li></font></span>
<ul style="display:none" style=&{head};>
<li style="margin-left: -15px"><font size="1">
<a href="http://www.anova.com/index.php?cPath=31_47_50">Socket 370</a></font></li>
<li style="margin-left: -15px"><font size="1">
<a href="http://www.anova.com/index.php?cPath=31_47_51">Socket 478</a></font></li>
<li style="margin-left: -15px"><font size="1">
<a href="http://www.anova.com/index.php?cPath=31_47_52">Intel® Xeon™</a></font></li>