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: Multiple item scope settings on singlew node
karpuz
Junior Member

Posts: 5
Registered: 2/9/2004
Member Is Offline
posted on 2/9/2004 at 01:43 PM Reply With Quote
Multiple item scope settings on singlew node


Hello there,

I want to be able to apply multiple scope settings for a node. For example :

['Folder',
'index.html',
{'sb':'Folder'} ,
{'st':'1'}]

However, this throws an error. So, what I'm after is away to specify in the tree
spec say "sb" (status bar) and "st" (initial state) and/or more scope settings?
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/9/2004 at 05:12 PM Reply With Quote

['Folder', 'index.html', {'sb':'Folder', 'st':'1'}]
View User's Profile View All Posts By User U2U Member
karpuz
Junior Member

Posts: 5
Registered: 2/9/2004
Member Is Offline
posted on 2/9/2004 at 09:53 PM Reply With Quote

Cheers.

However, when I set all tree nodes st:1 I expect the entire tree to be expanded by default but this doesn't appear to be the case?

Any ideas?
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 2/10/2004 at 07:43 AM Reply With Quote

Actually you should set 'st' key like the following:
['Folder', 'index.html', {'sb':'Folder', 'st':1},...]
I.e. 'st':1 or 'st':0 (0/1 without quotation marks)
View User's Profile View All Posts By User U2U Member
karpuz
Junior Member

Posts: 5
Registered: 2/9/2004
Member Is Offline
posted on 2/10/2004 at 09:28 AM Reply With Quote

Cheers, works a treat :)
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