Board Logo

single click on menu to open 1st level
bdboyle - 2/4/2008 at 06:08 PM

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...


tigra - 2/5/2008 at 02:16 AM
look for "Node open on single click"

TreeMenuUser - 11/13/2008 at 03:32 PM

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]) {
// cancel default action
return false;
// proceed to default handler
return true;

I got an error

Error: Object doesn't support this property or method.

tigra - 11/13/2008 at 08:39 PM

is that with the PRO version of the script?

degruijterp - 4/3/2009 at 01:34 PM

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?


Back to forum: