Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Default behavior
kgilcreast
Junior Member

Posts: 2
Registered: 6/12/2003
Member Is Offline
posted on 6/12/2003 at 01:24 PM Reply With Quote
Default behavior


Can the the TreeMenu default to being completely opened (all sub-branches opened)? Is there a function I can call to do this, or do I need to iterate through all the items with Javascript?
View User's Profile View All Posts By User U2U Member
kgilcreast
Junior Member

Posts: 2
Registered: 6/12/2003
Member Is Offline
posted on 6/12/2003 at 01:31 PM Reply With Quote
Re: Default Behavior


I found my answer in another post, sorry to waste the post. For those interested here's the quote:

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++)
this.toggle(i);

And it works beautifully! Thanks, vsantola.

For more details, pls refer to (http://www.softcomplex.com/forum/viewthread.php?tid=135).
View User's Profile View All Posts By User U2U Member
esm
Member

Posts: 39
Registered: 1/7/2004
Member Is Offline
posted on 1/11/2005 at 09:24 PM Reply With Quote

I have added this line to the end of tree.js but it gives me error messages.
View User's Profile View All Posts By User U2U Member
esm
Member

Posts: 39
Registered: 1/7/2004
Member Is Offline
posted on 12/14/2005 at 12:02 AM Reply With Quote

Hi,

I'm trying to implement vsantola's solution. The problem is that the tree_js file is just one long string of code and I have no clue where exactly his code is supposed to go. Can someone help me please?

Thanks,

Ed
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos:
Frames targeting
Win help style
Free Download Free Download
Free Download Menu Builders
Online Builder
Product Documentation Documentation:
Documenation Page
Support Forum Technical Support
Support Forum
   

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004