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: Indention Problem
TonyFrench
Junior Member

Posts: 2
Registered: 3/14/2007
Member Is Offline
posted on 3/15/2007 at 01:33 AM Reply With Quote
Indention Problem


I am having issues with indention. The first group indents properly, but the second group does not, it aligns with the higher level.

Here is a sample of my TREE.

var TREE_ITEMS = [
["Browse by Season",null,null,
["<strong>Everyday</strong>","/main/shop.do?action=init&itemID=7&itemType=CATEGORY", null,
["Premium Chocolates","/main/shop.do?action=init&itemID=161&itemType=CATEGORY", null,null],
["Sugar Free","/main/shop.do?action=init&itemID=162&itemType=CATEGORY", null,null],
["Net Carb","/main/shop.do?action=init&itemID=163&itemType=CATEGORY", null,null],
["Weight Watchers&reg","/main/shop.do?action=init&itemID=164&itemType=CATEGORY", null,null],
["DiabetX & Sucratol","/main/shop.do?action=init&itemID=180&itemType=CATEGORY", null,null],
["New","/main/shop.do?action=init&itemID=26&itemType=CATEGORY", null,null],
["Boxed Chocolates","/main/shop.do?action=init&itemID=27&itemType=CATEGORY", null,
["Assortments","/main/shop.do?action=init&itemID=28&itemType=CATEGORY", null,null],
["Nuts & Peanut Butter","/main/shop.do?action=init&itemID=29&itemType=CATEGORY", null,null],
["Creams, Mints & Coconut","/main/shop.do?action=init&itemID=30&itemType=CATEGORY", null,null],
["Caramels & Toffee","/main/shop.do?action=init&itemID=31&itemType=CATEGORY", null,null],
["Truffles, Fudge & Cordials","/main/shop.do?action=init&itemID=32&itemType=CATEGORY", null,null],
["Premium Chocolates","/main/shop.do?action=init&itemID=33&itemType=CATEGORY", null,null],
["Sugar Free","/main/shop.do?action=init&itemID=34&itemType=CATEGORY", null,null],
["Net Carb","/main/shop.do?action=init&itemID=35&itemType=CATEGORY", null,null]
],
["Peg Bags","/main/shop.do?action=init&itemID=36&itemType=CATEGORY", null,null],
["Laydown Bags","/main/shop.do?action=init&itemID=37&itemType=CATEGORY", null,null],
["Rolltop Bags","/main/shop.do?action=init&itemID=38&itemType=CATEGORY", null,null],
["Candy Bars","/main/shop.do?action=init&itemID=44&itemType=CATEGORY", null,null],
["Tins & Gift Boxes","/main/shop.do?action=init&itemID=41&itemType=CATEGORY", null,null],
["Hard Candies & Jellies","/main/shop.do?action=init&itemID=40&itemType=CATEGORY", null,null],
["Breakfast Bars","/main/shop.do?action=init&itemID=153&itemType=CATEGORY", null,null],
["Value Packs/Multipacks","/main/shop.do?action=init&itemID=39&itemType=CATEGORY", null,null],
["Displays & Floorstands","/main/shop.do?action=init&itemID=42&itemType=CATEGORY", null,null]
],
["<strong>Spring/Mother's Day</strong>","/main/shop.do?action=init&itemID=8&itemType=CATEGORY", null,
["Weight Watchers&reg","/main/shop.do?action=init&itemID=169&itemType=CATEGORY", null,null],
["Premium Chocolates","/main/shop.do?action=init&itemID=170&itemType=CATEGORY", null,null],
["Sugar Free","/main/shop.do?action=init&itemID=171&itemType=CATEGORY", null,null],
["Net Carb","/main/shop.do?action=init&itemID=172&itemType=CATEGORY", null,null],
["New","/main/shop.do?action=init&itemID=54&itemType=CATEGORY", null,null],
["Everyday Boxed Chocolates","/main/shop.do?action=init&itemID=59&itemType=CATEGORY", null,
["Assortments","/main/shop.do?action=init&itemID=102&itemType=CATEGORY", null,null],
["Nuts & Peanut Butter","/main/shop.do?action=init&itemID=103&itemType=CATEGORY", null,null],
["Creams, Mints & Coconut","/main/shop.do?action=init&itemID=104&itemType=CATEGORY", null,null],
["Caramels & Toffee","/main/shop.do?action=init&itemID=105&itemType=CATEGORY", null,null],
["Truffles, Fudge & Cordials","/main/shop.do?action=init&itemID=106&itemType=CATEGORY", null,null],
["Premium Chocolates","/main/shop.do?action=init&itemID=107&itemType=CATEGORY", null,null],
["Sugar Free","/main/shop.do?action=init&itemID=108&itemType=CATEGORY", null,null],
["Net Carb","/main/shop.do?action=init&itemID=109&itemType=CATEGORY", null,null]
],
["Peg Bags","/main/shop.do?action=init&itemID=60&itemType=CATEGORY", null,null],
["Laydown Bags","/main/shop.do?action=init&itemID=61&itemType=CATEGORY", null,null],
["Rolltop Bags","/main/shop.do?action=init&itemID=62&itemType=CATEGORY", null,null],
["Candy Bars","/main/shop.do?action=init&itemID=63&itemType=CATEGORY", null,null],
["Tins & Gift Boxes","/main/shop.do?action=init&itemID=64&itemType=CATEGORY", null,null],
["Hard Candies & Jellies","/main/shop.do?action=init&itemID=65&itemType=CATEGORY", null,null],
["Breakfast Bars","/main/shop.do?action=init&itemID=154&itemType=CATEGORY", null,null],
["Value Packs/Multipacks","/main/shop.do?action=init&itemID=66&itemType=CATEGORY", null,null],
["Displays/Floorstands","/main/shop.do?action=init&itemID=67&itemType=CATEGORY", null,null]
]
]]

So, in this example, items under "EveryDay" are indented properly, but items under "Spring/Mother's Day" are not.

Got any ideas?

Thanks
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/15/2007 at 02:26 PM Reply With Quote

dropped your items in Tigra Tree Menu PRO demo and it worked fine

tigra has attached this image:
screenshot.gif - 7.4kb
View User's Profile View All Posts By User U2U Member
TonyFrench
Junior Member

Posts: 2
Registered: 3/14/2007
Member Is Offline
posted on 3/16/2007 at 03:06 PM Reply With Quote

So I guess that means it is a CSS issue or something related to that?
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/16/2007 at 10:49 PM Reply With Quote

If the image above looks the way you want your tree look like then just do what I did: start with the working tree configuration using your items variable.
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