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 to open 1st level
bdboyle
Junior Member

Posts: 2
Registered: 1/26/2006
Location: USA
Member Is Offline
posted on 2/4/2008 at 06:08 PM Reply With Quote
single click on menu to open 1st level


Maybe I'm thick...but, would like to change the response of the menu items so that a single click on the menu selection opens the page up, rather than double click. Single click works on the '+' before it...haven't seen in the dox where it would be enabled on the text itself...

thoughts?
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 2/5/2008 at 02:16 AM Reply With Quote

http://www.softcomplex.com/products/tigra_tree_menu_pro/docs/#api_examples
look for "Node open on single click"
View User's Profile View All Posts By User U2U Member
TreeMenuUser
Junior Member

Posts: 2
Registered: 11/5/2008
Member Is Offline
posted on 11/13/2008 at 03:32 PM Reply With Quote

I tried below function

/*
This function modifies tree behavior so nodes without link
assigned will open on single click
Function should be called AS onItemSelect handler of the tree
*/

function onItemSelectHandler (o_item) {
// if node with no link then toggle
var o_state = o_item.state();
if (o_state['node'] && !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;
}


I got an error

Error: Object doesn't support this property or method.
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 11/13/2008 at 08:39 PM Reply With Quote

is that with the PRO version of the script?
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/3/2009 at 01:34 PM Reply With Quote
Single click to open item


There is a post on how to have an item (node) opened with a click on the text in stead of the plus sign. It seems nobody ever got this to work.

Can it be done with tigra tree menu pro?

Regards,
Peter
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