Board Logo

reset_state
asterix - 10/15/2004 at 09:56 AM

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


rock - 10/15/2004 at 12:21 PM

You could call it in the beforeInit handler function.


asterix - 10/16/2004 at 12:41 AM

Can you explain better please?

Thanks again


rock - 10/20/2004 at 07:01 AM

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();
//...
}


asterix - 10/20/2004 at 07:57 AM

Thank you, Tiziano


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/