Board Logo

how to get the values from the Cookie
Rithika - 1/18/2008 at 11:51 AM

I have Left menu -trigara tree concepts and right menu with normal menu items.When i selecte a item in the left menu some data will be loaded and when i traverse inthe right menu the same node needs to be selected and data for that node to be loaded.
Currently the datas are loaded corectly but i could not retain the state of the tree .

When gogin through the concepts i read abt cookies ,whether i can solve problem through cookies.
please describe me with some code snippets ,how to receive and add the selected item to cookie..

Thanks in advance

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

The cookies will not help much in this case. What you need is the piece of code in the content pages that highlights the matching items in both menus.

Both menus as well as static navigation links affect the state of the content frame so that's why you should put the code there. Tigra Tree Menu PRO supports the API that you can use to locate the item with specific properties and open/highlight it (see the code samples in the product documentation).

Back to forum: