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: Wednesday July 18 2012 - 06:07:23

Add Menu Array Elements


Poster: palocedro
Dated: Tuesday October 1 2002 - 10:44:59 BST

Sorry to be so dense, but what are the elements for the menu items in addmenu? This is what I have figured out so far..

"<img src=>Title","link onbordercolor=00000;offbordercolor=FFFFFF;",,"Message",0

what is the elements before and after Message?

Thanks!


Poster: John
Dated: Tuesday October 1 2002 - 15:48:32 BST

Assuming you're asking about sub-menus, they are exactly the same as those defined in the 'addmenu(menu=[' section of the array. In the definition of the 'mainmenu' Andy put each element on a single line so he could add the comment info. Then in his sub-menus he just left out the comments and ran the elements together on one line (plus the actual menu names on separate lines below that).

Check the demo array that comes with the download and you'll see the sub-menu definitions are the same as those of the mainmenu.