order of menu items

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
david1721
Advanced
Advanced
Posts: 24
Joined: Mon Dec 18, 2006 8:21 pm

order of menu items

Post by david1721 »

Is there a way to set the parameters in a multi-col menu so the menu items
are displayed in this order

1 5
2 6
3 7
4 8

rather than

1 2 3 4
5 6 7 8

Also, is there a way to insert non menu text inbetween menu headings like:

some_heading
1
2
another_heading


Thanks

David
3
4
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

The only way to do that is to order the items how you want them to be when the menu is set to divide. In a horizontal menu the divides works sort of like 'rows' If you have 8 items then the first 4 will be in the top row and the second 4 in the bottom. So you would have to set up your menu as
1 5 2 6 3 7 4 8.

In a vertical menu, the divides works like columns, so the division is odd numbered items in column 1 and even in column 2.

Ruth
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

One other suggestion came to mind that has been used by some instead of divides. They have created two horizontal 'main' i.e. visible menus and placed them one above the other.

Ruth
david1721
Advanced
Advanced
Posts: 24
Joined: Mon Dec 18, 2006 8:21 pm

Post by david1721 »

Thanks for the suggestions. Since I'm dealing with four cols, the logistics of
generating my list gets a bit complicated so I guess I just have to live with

1 2 3 5

5 6 7 8

David
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Check this out:

http://milonic.com/mm_multicolumnsorting.js

Should be exactly what you are looking for
david1721
Advanced
Advanced
Posts: 24
Joined: Mon Dec 18, 2006 8:21 pm

Post by david1721 »

thanks, that's great!
Post Reply