Adding Menu Items
The way SuperTree's tree structure is created is very similar to many other Cool Focus menu applets: a system of numbers and hyphens (-) tells SuperTree what order the items should appear in, and which level the items are to be placed at.

Start by creating the first-level items. These must be numbered consecutively from 1.

Item1=Menu Systems
Item2=Button Bars
Item3=Displays

(Note that you can't skip numbers. SuperTree starts looking for items starting from 1, and keeps looking until it comes to a missing number. So if you number the items 1, 2, 3, 6, and 7, you will only see 1, 2 and 3 on the menu.)

This creates the structure below:

You can add URL, Target, Message, Color and custom-icon parameters for these items by using the appropriate parameter name with the same numbering as the Item it applies to. To make the Button Bars item link somewhere, for instance, add:

URL2=test.htm


Now let's add some sub-items to the top item, Menu Systems. Add these two parameters (it doesn't matter what order they appear in your datafile).

1-Item1=Vertical Menus
1-Item2=Horizontal Menus

The 1- before the parameter names tells SuperTree that we want to add these items to Item1. The 1 and 2 after the names tells SuperTree what order to display the items in (just as with the first-level items).

The structure now looks like this:

Because that first item now contains sub-items, SuperTree makes it a folder, changing its icon and giving it a toggle box.

Once again, you can add URL, Target, Message (etc.) parameters to these items. Use the parameter name you need with the same numbering as the Item it refers to. For example, to make them both link somewhere, do this:

1-URL1=vert.htm
1-URL2=horz.htm


Next we'll add some sub-items to the Horizontal Menus item:

1-2-Item1=HotStrip
1-2-Item2=DropBar

The 1- refers to the first-level item (item number 1, Menu Systems, ), and the 2- refers to the second-level item (item number 1-2, Horizontal Menus), telling SuperTree where this items should go. As usual, the 1 and 2 after the parameter name tells SuperTree that this should be the first and second item added to Horizontal Menus.

Once again, SuperTree recognizes that the Horizontal Menus items is now a folder.


Finally, we'll add some sub-items to the Displays item:

3-Item1=Text Displays
3-1-Item1=Static
3-1-1-Item1=QandA
3-1-Item2=Animated
3-1-2-Item1=NewsLine
3-1-2-Item2=Messenger
3-Item2=Image Displays
3-2-Item1=ImageRoll
3-2-Item2=PicStrip