Hello,
I have to do a menu like this. I have a vertical menu with (for example) 4 items, ItemA, ItemB, ItemC and ItemD. When I click on an item, for example, on ItemA, I see in the vertical menu : ItemA, SubItemA1,SubItemA2, ItemB, ItemC and ItemD.
That, I think it's ok.
But ....
for each subitems, I need an horizontal menu, this menu appear in front of the subitem (vertical) selected and the hozirontal menu has subitem too, horizontal. The content the horizontal menu (item and subitem) depend of the vertical subitem selected.
Is it possible to do that ?
Bye
Horizontal and Vertical in same time possible ?
Hi Cista,
When defining any menu, the 12th parameter in the menu array (where the menu name is the first parameter) determines whether the menu will be horizontal or vertical; set it to 1 for horizintal, set it to 0 or leave it unset (which is what most people do) for vertical. For example, the following code would produce a vertical menu with two items:
In the above code, the 12th parameter is not set. Setting it to 1, as shown below, would yield a horizontal menu with two items.
Hope that helps,
Kevin
When defining any menu, the 12th parameter in the menu array (where the menu name is the first parameter) determines whether the menu will be horizontal or vertical; set it to 1 for horizintal, set it to 0 or leave it unset (which is what most people do) for vertical. For example, the following code would produce a vertical menu with two items:
Code: Select all
addmenu(menu=["menu_name",,,100,2,"",style_name,,"left",effect_name,,,,,,,,,,,,
,"item1","url1.htm",,,1
,"item2","url2.htm",,,1
])
Code: Select all
addmenu(menu=["menu_name",,,100,2,"",style_name,,"left",effect_name,,1,,,,,,,,,,
,"item1","url1.htm",,,1
,"item2","url2.htm",,,1
])
Kevin
Horizontal and Vertical in same time possible
Imagine a vertical menu with 4 main items. I'd lik when I click on the first item for example, see the subitem just under the parent item, same horizontal position and under the subitems the others main item.
Possible?
Possible?