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: Return at begining and Collapse menu
lev
Junior Member

Posts: 2
Registered: 6/23/2003
Location: Georgia
Member Is Offline
posted on 11/26/2003 at 04:30 PM Reply With Quote
Return at begining and Collapse menu


Hi

Is there any way to collapse whole single or multiple menu from URL?

Situation is like that I need a simple html regerated button from which a user after navigation will be able to return to home page and see the page as it was at the begining. (collapse all opened nodes).
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 12/1/2003 at 08:33 AM Reply With Quote

You could do it easily via Tigra Tree Menu PRO open API using collection of tree nodes (a_nodes). If you need assistance please contact us at http://www.softcomplex.com/support/
View User's Profile View All Posts By User U2U Member
lev
Junior Member

Posts: 2
Registered: 6/23/2003
Location: Georgia
Member Is Offline
posted on 12/6/2003 at 11:52 AM Reply With Quote

Thank you so much!!!

We have done it this way:

1)

Changing:

<script language="JavaScript">new tree (TREE_ITEMS, tree_tpl);

to:

<script language="JavaScript">var xx=new tree (TREE_ITEMS, tree_tpl);


2)

Adding onClick to the image or text:

<A href="#"><IMG src="image.gif" onClick="xx.a_nodes[1].open(true);></A>

..[2], [3], [4], and so on, depending on amount of nodes.

That's it! Opened nodes are closing after clicking on image or text.


Thanks again for your help!
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