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: Single Click on menu item to open sub menu items
TreeMenuUser
Junior Member

Posts: 2
Registered: 11/5/2008
Member Is Offline
posted on 11/5/2008 at 10:20 PM Reply With Quote
Single Click on menu item to open sub menu items


Hi Support,

I would like to open sub menu items in a single click on menu item.


Currently it is working
Single click on DownArrow Icon.
Double click on Menu item.

I have tried below example:
http://www.softcomplex.com/products/tigra_tree_menu_pro/docs/#api_examples

But still it is doing same thing.

The menu item should open when user click on single click.

It will be great if you could please let me know what files needs to change.

Thanks.
View User's Profile View All Posts By User U2U Member
degruijterp
Junior Member

Posts: 8
Registered: 4/16/2005
Member Is Offline
posted on 4/7/2009 at 12:56 PM Reply With Quote
Single click to open node works!


Hi all,

after looking everywhere, I finally go the 'single click to open node' to work.

In stead of the coding that is in the default template, use the following:

function onItemSelectHandler (o_item) {
// if node with no link then toggle
if (o_item.a_config[3] &&!o_item.a_config[1]) {
o_item.o_root.toggle(o_item.n_id);
// cancel default action
return false;
}
// proceed to default handler
return true;
}

Not a huge difference, but it works. of course, also add:

'onItemSelect':'onItemSelectHandler'

and make sure to see to it that you do or do not place a comma at the end of that line.

It only works with the PRO version I believe.

Have fun with it,

Peter
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Tree Menu
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
   
Tigra Tree Menu PRO
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