Divide List Based Menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
gsam
Beginner
Beginner
Posts: 3
Joined: Wed Oct 22, 2008 12:54 am

Divide List Based Menu

Post by gsam »

I'm using the listbased_menu and I need to divide the list items into columns.
The example file shows:

Code: Select all

buildListMenu("milonicmenu1","menuStyle","alwaysvisible=true;orientation='horizontal';top=10;left=10;")
buildListMenu("milonicmenu2","menuStyle2","alwaysvisible=true;orientation='vertical';top=300;left=310;")
buildListMenu("milonicpopupmenu","menuStyle","")
and I believe this is where I should include the menu properties. I tried this:

Code: Select all

buildListMenu("milonicmenu1","menuStyle","alwaysvisible=true;orientation='horizontal';top=10;left=10;divide=2;")
buildListMenu("milonicmenu2","menuStyle2","alwaysvisible=true;orientation='vertical';top=300;left=310;divide=2;")
buildListMenu("milonicpopupmenu","menuStyle","divide=2;")
and it did not work. Does anyone know how to break a list into columns?
This is going to be a 2 level menu and only the second level will be divided.
Thanks for any help
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Divide List Based Menu

Post by Ruth »

Hi,

The code is divides= not divide :)

EDIT: Also, for the menu that is set vertical, if you want it to divide you cannot use separators in the style, set them to separatorsize=0; otherwise it will not divide.

Ruth
gsam
Beginner
Beginner
Posts: 3
Joined: Wed Oct 22, 2008 12:54 am

Re: Divide List Based Menu

Post by gsam »

Thanks,
Before I get to far into developing a large listbased menu, are there any menu or style properties available in the standard menu_data.js which cannot be used in a list menu?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Divide List Based Menu

Post by Ruth »

To be honest, I have no idea. As far as I can figure, there shouldn't be anything in style that wouldn't work since style is in the style section, not in the build part which takes the menu properties. I will try adding different menu properties and see if any of those don't work. I've never played with those before in relation to a list menu.

Ruth
Post Reply