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: Open folder
MaxFromH
Junior Member

Posts: 9
Registered: 9/23/2005
Member Is Offline
posted on 9/27/2005 at 04:51 PM Reply With Quote
Open folder


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?
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 9/28/2005 at 08:47 AM Reply With Quote

trees[n].a_index[m].open();
View User's Profile View All Posts By User U2U Member
MaxFromH
Junior Member

Posts: 9
Registered: 9/23/2005
Member Is Offline
posted on 9/28/2005 at 11:29 AM Reply With Quote

Works fine. Thank you.
View User's Profile View All Posts By User U2U Member
sasha
Newbie

Posts: 1
Registered: 4/23/2007
Member Is Offline
posted on 4/24/2007 at 04:30 AM Reply With Quote

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 !
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 4/14/2008 at 03:58 PM Reply With Quote

This will work on initialized nodes only. expand all parents of the node starting from the root before calling any API methods on it.
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