by wootwoot » Tue Aug 05, 2008 3:29 am
i noticed in your source you have this line, perhaps this is causing your problem.
<script type="text/javascript">
initShowHideDivs();
showHideContent(false,1); // Automatically expand first item
</script>
Or you could try:
i found that there is a problem with using collapseAll() on its own. You have to first use expandAll then collapseAll to close all the trees.
treeObj.expandAll();
treeObj.collapseAll();