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: Sub-menu indentation issue
tselland
Junior Member

Posts: 3
Registered: 3/23/2007
Member Is Offline
posted on 3/23/2007 at 03:25 PM Reply With Quote
Sub-menu indentation issue


I should preface this post with the fact that I am using Tigra Tree Menu PRO.

I am noticing something curious about our menus for which I can find no good explanation:

We have several menu entries that have several sub-menu items, that in turn may have many sub-sub-menu items, etc...The sub-items under the expandable menu entry "1", are indented three characters over from where the level "1" item is displayed. The second "level 1" item in our menu has many sub-items that are not being indented over from where this level 1 items is displayed.

So, for example, using the below as our TREE_ITEMS data (abbreviated):

["Browse by Season", null,null,
["<strong>Everyday</strong>","/main/shop.do, null,
["New","/main/shop.do?action=init&itemID=26&itemType=CATEGORY", null,null],
["Premium Chocolates","/main/shop.do, null,null] ],

["<strong>Spring/Summer</strong>","/main/shop.do, null,
["New","/main/shop.do, null,null],
["Premium Chocolates","/main/shop.do, null,null] ] ],

Displays like this:

Browse by Season
-Everyday
New
Premium Chocolates
-Spring/Summer
New
Premium Chocolates

Our issue is with the second "set" of sub-items under, in this case, the 'Spring/Summer' entry. Why it's sub-items don't indent the same number of characters over to the right as the first menu item's, in this case 'Everyday', sub-items is the problem. This occurs regardless of how the data is arranged--meaning, I can switch the position of 'Everyday' and it's sub-items with 'Spring/Summer' and it's sub-items and it does the same thing.

Any ideas?
View User's Profile View All Posts By User U2U Member
tselland
Junior Member

Posts: 3
Registered: 3/23/2007
Member Is Offline
posted on 3/23/2007 at 03:29 PM Reply With Quote
just noticed...


Evidently multiple spaces are stripped out when text is posted....So, I'll use underbars to stand in as spaces...

So, in my above post, the "displays as" section should look like, where the "-" denotes an expandable menu item:

Browse by Season
__-Everyday
______New
______Premium Chocolates
__-Spring/Summer
___New
___Premium Chocolates
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 3/23/2007 at 06:05 PM Reply With Quote

In your items structure some links don't have the closing quotation.
["New","/main/shop.do <-- here for example
View User's Profile View All Posts By User U2U Member
tselland
Junior Member

Posts: 3
Registered: 3/23/2007
Member Is Offline
posted on 3/23/2007 at 07:23 PM Reply With Quote

My bad....they should...I edited out the superfluous details but evidently edited out a bit too much.
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