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: Retain the color of the selected item even when traverse to another tab.
Rithika
Junior Member

Posts: 4
Registered: 12/31/2007
Location: India
Member Is Offline
posted on 1/9/2008 at 05:55 AM Reply With Quote
Retain the color of the selected item even when traverse to another tab.


I have left tree and right tab operation .when i click the right tab accoringly the tree get displayed depending upon the conditions chekcs(ie access level security).Her teh proble is when i click the left menu and click another tab ,then the tree is not retaining the selected item.
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 1/9/2008 at 04:13 PM Reply With Quote

If the redirect from one page to another happens outside the tree then it has no way of knowing what item to highlight.
You'll need to add the code to each page that will find associated tree item and highlight it.
The documentation page for Tigra Tree Menu PRO has code samples for searching the tree by text or link.
View User's Profile View All Posts By User U2U Member
Rithika
Junior Member

Posts: 4
Registered: 12/31/2007
Location: India
Member Is Offline
posted on 1/10/2008 at 08:54 AM Reply With Quote
RE:Retain the color of the selected item even when traverse to another tab.


I have gone through the documentatino section and could not find the excat code for the tree link or Html text.
Any code snippet would be more help ful.
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 1/10/2008 at 11:18 PM Reply With Quote

The documentation I mentioned is at:
http://www.softcomplex.com/products/tigra_tree_menu_pro/docs/#api_examples

Again, this is for PRO version.

The sample function is: openItemByCaption
a_item.select() can be added before the end of the function if you want that item selected.

After you add this function to say tree_tpl.js you can call it supplying the name of the associated item on each page you load to sync the tree selection with 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