Board Logo

Open folder
MaxFromH - 9/27/2005 at 04:51 PM

I know, how to toggle the open-state of a folder item (e.g. trees[n].toggle(m)).

What would be the syntax, if I always want to open it, no matter, in which state it is?

rock - 9/28/2005 at 08:47 AM


MaxFromH - 9/28/2005 at 11:29 AM

Works fine. Thank you.

sasha - 4/24/2007 at 04:30 AM

Not work !
in line
get_element('i_txt' + this.o_root.n_id + '_' + this.n_id).style.fontWeight = b_deselect ? 'normal' : 'bold';
IE6 produce error
Error: style is null or not object !

tigra - 4/14/2008 at 03:58 PM

This will work on initialized nodes only. expand all parents of the node starting from the root before calling any API methods on it.

Back to forum: