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: disble nodes
syfodyas
Member

Posts: 11
Registered: 11/16/2005
Member Is Offline
posted on 12/1/2005 at 04:14 PM Reply With Quote
disble nodes


Hi,

Is it possible to disable 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/2/2005 at 12:01 PM Reply With Quote

Could you clarify?
View User's Profile View All Posts By User U2U Member
syfodyas
Member

Posts: 11
Registered: 11/16/2005
Member Is Offline
posted on 12/2/2005 at 12:31 PM Reply With Quote

A certain state of a node so it cannot be (de)selected,
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/6/2005 at 05:33 PM Reply With Quote

You could add custom key into node's scope setting:
['My disabled node', 'link.html', {'disabled':true}, ....]

and define onItemSelect/onItemDeselect function as follownig model:

function onItemSelectHandler(o_item){
if(o_item.a_config[2] && o_item.a_config[2]['disabled']) return false; //cancel default action if 'disabled'==true
return true;
}
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