[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Only expand of top nodes?
Advertisement

Only expand of top nodes?

Moderators: Calcifer, slothy

Only expand of top nodes?

Postby kilroy » Mon Feb 12, 2007 10:50 am

Hi.

As far as I know there are only options to expand or collapse tree at init by setting the option in the script below the tree:

<script type="text/javascript">
treeObj = new JSDragDropTree();
treeObj.setTreeId('manualTree');
treeObj.setMaximumDepth(6);
treeObj.setMessageMaximumDepthReached('Maximum depth reached');
treeObj.initTree();
treeObj.expandAll();
</script>

Is it possible to init the tree with only the topnodes expanded? Would help me a lot.

Thanks in advance.
kilroy
 
Posts: 6
Joined: Mon Feb 12, 2007 10:37 am

Postby kilroy » Mon Feb 12, 2007 2:00 pm

kilroy
 
Posts: 6
Joined: Mon Feb 12, 2007 10:37 am


Return to Drag and drop scripts

Who is online

Users browsing this forum: No registered users and 14 guests

cron