Board Logo

TreeMenu, PHP and opened node
LosWochos - 2/5/2004 at 04:20 PM

Hello.

I?m using treemenu in my php application.
The TREE_ITEMS array is created dynamically from a database. By now everything works fine. But i have one problem: How can i say, that a special node is opened at initial time?

Alex


rock - 2/6/2004 at 07:41 AM

You could use tree item's scope settings 'st' key to set initial state of the node or use open tree API.
http://www.softcomplex.com/products/tigra_tree_menu_pro/docs/#local_tpl
http://www.softcomplex.com/products/tigra_tree_menu_pro/docs/#api


Lion27 - 8/5/2004 at 04:05 PM

Quote:
Originally posted by rock
You could use tree item's scope settings 'st' key to set initial state of the node or use open tree API.
http://www.softcomplex.com/products/tigra_tree_menu_pro/docs/#local_tpl
http://www.softcomplex.com/products/tigra_tree_menu_pro/docs/#api


but this goes only in tree pro and not in tree regular?


tigra - 8/6/2004 at 03:15 PM

While initial state configuration key is not supported by free version, you can still call its methods similarly to open API of PRO version to achieve the same result. Alternative ways are: upgrade to pro version or customization of free script.


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