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: reset_state
asterix
Member

Posts: 13
Registered: 9/23/2004
Location: South Italy
Member Is Offline
posted on 10/15/2004 at 09:56 AM Reply With Quote
reset_state


I use Tigra Tree Menu PRO.
How and where I have to use the reset_state method to reset the state of the tree?

thank you in advance,
Tiziano
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 10/15/2004 at 12:21 PM Reply With Quote

You could call it in the beforeInit handler function.
View User's Profile View All Posts By User U2U Member
asterix
Member

Posts: 13
Registered: 9/23/2004
Location: South Italy
Member Is Offline
posted on 10/16/2004 at 12:41 AM Reply With Quote
reset_state


Can you explain better please?

Thanks again
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 10/20/2004 at 07:01 AM Reply With Quote

just define the handler in your tree template variable

'beforeInit':'beforeInitHandler', // beforeInit event handler

declare appropriate function

function beforeInit(o_tree) {
//...
o_tree.reset_state();
//...
}
View User's Profile View All Posts By User U2U Member
asterix
Member

Posts: 13
Registered: 9/23/2004
Location: South Italy
Member Is Offline
posted on 10/20/2004 at 07:57 AM Reply With Quote

Thank you, Tiziano
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Multiple Trees
Frames Targeting
Icons and Styles Overloading
Event Handling
Performance Test
Version 1.2 features
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


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