Board Logo

fully expanded tree on load
greenpea - 12/26/2002 at 03:39 AM

Does anyone know how i can make the tree load with all everything fully expanded?

Thank you very much!

greenpea - 12/26/2002 at 03:50 AM

Hi again,
After some browsing... i found the solution in another post.

The solution by vsantola is to add the following code to the end of the tree() function:
for (var i = 1; i < this.a_index.length; i++)

And it works beautifully! Thanks, vsantola.

cj99 - 2/24/2003 at 12:03 PM

This code is really great, but can I have one of the nodes selected by default (Bold) on page load?

lcwa - 3/10/2003 at 10:16 AM

Thanks for the code... it spurred me on to make a menu that remembers it's state during non-framed refreshes, using cookies and an array. Also, it can remember the selected item (see last email). It is too raw to show, but I should be cleaned up by end of week.

I just saw this product last week, and it looks great.

Now I am reading about the Pro version, but I need my version this week.

So, again, thanks for the tip!

Mark S.

Back to forum: