Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Thursday February 8 2018 - 06:02:36

Horizontal menus, horizontal submenus


Poster: Omega430
Dated: Wednesday November 13 2002 - 6:03:33 GMT

Is there a way to convert the "Milonic" menu from vertical dropdown to horizontal listing? I basically want the submenu to appear directly below the main menu( horizontally). If not, can someone point me in the right direction for this type of menu?



Chris


Poster: trytrix
Dated: Wednesday November 13 2002 - 18:25:35 GMT

HI,

Code: Select all

addmenu(menu=[
1,     // 12) Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)

Just set the 12th menu item definition to 1 ....

Cheers,
Trytrix


Poster: Omega430
Dated: Wednesday November 13 2002 - 23:01:12 GMT

I have that set. I want the sub menu to be horizontal too.
like this:

mainmenu
sub sub sub sub

instead of:

mainmenu
sub
sub
sub
sub


Poster: kevin3442
Dated: Thursday November 14 2002 - 0:07:25 GMT

Adding my two cents, since I'm here... ;)

The 12th element applies to any menu, including submenus. If you want a submenu to be horizontal, then set the 12th element in its array to 1.

Hope that helps,

Kevin